db docker fix
This commit is contained in:
1 parent
887fdbf25c
commit
bbd87f524d
3 files changed
+6
-1
No files matched your search
@@ -4,3 +4,4 @@ __pycache__/
|
||||
|
||||
*.env
|
||||
*.db
|
||||
SQLite/
|
||||
+1
-1
@@ -2,7 +2,7 @@ FROM python:3.13-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
WORKDIR /app
|
||||
WORKDIR /bot
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
@@ -7,3 +7,7 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
- .:/bot
|
||||
- fembot_db:/bot/SQLite
|
||||
|
||||
volumes:
|
||||
fembot_db:
|
||||
Reference in new issue
Block a user