mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
feat: DB for patterns
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -2,13 +2,17 @@ FROM python:alpine
|
||||
|
||||
WORKDIR /aw-bot
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY bot /aw-bot/bot
|
||||
COPY aw.py .
|
||||
COPY patterns.json .
|
||||
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"]
|
||||
|
||||
Reference in New Issue
Block a user