Files
PointsBot/Dockerfile

21 lines
357 B
Docker
Raw Normal View History

2026-02-21 22:25:47 +00:00
FROM python:3.7-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && \
rm requirements.txt
# Copy application code
COPY pointsbot ./pointsbot
COPY pointsbot.py .
# Set environment to use unbuffered Python output
ENV PYTHONUNBUFFERED=1
# Run the bot
CMD ["python", "pointsbot.py"]