db docker fix
This commit is contained in:
1 parent
887fdbf25c
commit
bbd87f524d
3 files changed
+8
-3
No files matched your search
+2
-1
@@ -3,4 +3,5 @@ __pycache__/
|
||||
*$py.class
|
||||
|
||||
*.env
|
||||
*.db
|
||||
*.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
|
||||
|
||||
+5
-1
@@ -6,4 +6,8 @@ services:
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- .:/bot
|
||||
- .:/bot
|
||||
- fembot_db:/bot/SQLite
|
||||
|
||||
volumes:
|
||||
fembot_db:
|
||||
Reference in new issue
Block a user