Updated Dockerfile

This commit is contained in:
2025-11-23 16:46:04 -05:00
parent 1575ee2bec
commit 4172f71db4

View File

@@ -1,9 +1,13 @@
FROM python:3.10
WORKDIR /usr/local/app
ENV DISCORD_BOT_TOKEN
COPY . .
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
RUN echo $DISCORD_BOT_TOKEN > .env
CMD ["python3", "bot.py"]