File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM python:3.9-slim
2+ WORKDIR /app
3+ # Install dependencies
4+ COPY requirements.txt .
5+ RUN pip install --no-cache-dir -r requirements.txt
6+ # Copy application files
7+ COPY main.py config.py api.py state.py ./
8+ COPY missing.py upgrade.py ./
9+ COPY utils/ ./utils/
10+ # Create state directory
11+ RUN mkdir -p /tmp/huntarr-state
12+ # Default environment variables
13+ ENV API_KEY="your-api-key" \
14+ API_URL="http://your-readarr-address:8787" \
15+ API_TIMEOUT="60" \
16+ HUNT_MISSING_BOOKS=1 \
17+ HUNT_UPGRADE_BOOKS=0 \
18+ SLEEP_DURATION=900 \
19+ STATE_RESET_INTERVAL_HOURS=168 \
20+ RANDOM_SELECTION="true" \
21+ MONITORED_ONLY="true" \
22+ REFRESH_AUTHOR="true" \
23+ SKIP_FUTURE_RELEASES="true" \
24+ DEBUG_MODE="false"
25+ # Run the application
26+ CMD ["python" , "main.py" ]
You can’t perform that action at this time.
0 commit comments