15 lines
255 B
Docker
15 lines
255 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
ENV DISCORD_TOKEN=$DISCORD_TOKEN
|
|
ENV DISCORD_CHANNEL_ID=$DISCORD_CHANNEL_ID
|
|
ENV PORT=$PORT
|
|
|
|
CMD ["python", "bot.py"]
|