rolled back changes regarding scripts

This commit is contained in:
2026-02-22 21:21:12 +00:00
parent cc175da801
commit 6cbbe39225
4 changed files with 2 additions and 36 deletions

View File

@@ -1,24 +1,16 @@
FROM python:3.14-slim
# Copy application files
WORKDIR /config
COPY scripts ./scripts
WORKDIR /app
COPY config.py .
COPY flairtimercomment.py .
# Add execute permissions to the scripts
RUN chmod +x /config/scripts/start_bot.sh
RUN chmod +x /config/scripts/autorun.sh
RUN chmod +x /config/scripts/copy.sh
# 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"]
CMD ["python", "flairtimercomment.py"]