discord-cleanup-bot/Dockerfile

13 lines
200 B
Docker
Raw Normal View History

2023-06-25 00:50:23 +02:00
FROM python:3.11
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
VOLUME ["/data"]
ENV DB_PATH="/data/bot.db"
CMD [ "python", "./bot.py" ]