Files
Discord-infobot/Dockerfile
SimolZimol 8c6b081379 new file: Dockerfile
new file:   app.py
	new file:   bot.py
	new file:   templates/post.html
2024-09-03 14:59:08 +02:00

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"]