mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 14:15:54 +00:00
19 lines
301 B
Docker
19 lines
301 B
Docker
FROM python:alpine
|
|
|
|
WORKDIR /aw-bot
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY bot /aw-bot/bot
|
|
COPY database /aw-bot/database
|
|
COPY aw.py .
|
|
COPY patterns.json .
|
|
|
|
ENV BOT_TOKEN=""
|
|
|
|
# Where the database will be stored
|
|
ENV BOT_DATA_DIR = ""
|
|
|
|
CMD ["python", "aw.py"]
|