db docker fix

This commit is contained in:
Soenke committed 2026-09-24 15:09:54 +02:00
1 parent 887fdbf25c
commit bbd87f524d
3 files changed
+8 -3

No files matched your search

+2 -1
View File
@@ -3,4 +3,5 @@ __pycache__/
*$py.class *$py.class
*.env *.env
*.db *.db
SQLite/
+1 -1
View File
@@ -2,7 +2,7 @@ FROM python:3.13-slim
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
WORKDIR /app WORKDIR /bot
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
+5 -1
View File
@@ -6,4 +6,8 @@ services:
env_file: env_file:
- .env - .env
volumes: volumes:
- .:/bot - .:/bot
- fembot_db:/bot/SQLite
volumes:
fembot_db: