mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 14:15:54 +00:00
21 lines
355 B
Docker
21 lines
355 B
Docker
FROM python:slim-bookworm
|
|
|
|
RUN apt update && apt install -y ffmpeg
|
|
|
|
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 sounds /aw-bot/sounds
|
|
COPY aw.py .
|
|
|
|
ENV BOT_TOKEN=""
|
|
|
|
# Where the database will be stored
|
|
ENV BOT_DATA_DIR = ""
|
|
|
|
CMD ["python", "aw.py"]
|