Skip to content

Commit 36ebc24

Browse files
committed
update
1 parent aca36f7 commit 36ebc24

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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"]

0 commit comments

Comments
 (0)