20 lines
316 B
Docker
20 lines
316 B
Docker
FROM python:3.14-slim
|
|
|
|
# Copy application files
|
|
|
|
WORKDIR /config
|
|
COPY scripts ./scripts
|
|
COPY config.py .
|
|
COPY flairtimercomment.py .
|
|
# Create App directory
|
|
RUN mkdir /app
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir praw
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Run the script
|
|
CMD ["sh", "/config/scripts/autorun.sh"]
|
|
|
|
|