diff --git a/.gitignore b/.gitignore index 65c1c2b..47373a9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ __pycache__/ *$py.class *.env -*.db \ No newline at end of file +*.db +SQLite/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ddd1623..78c5b8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index f0c170c..16e5052 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,8 @@ services: env_file: - .env volumes: - - .:/bot \ No newline at end of file + - .:/bot + - fembot_db:/bot/SQLite + +volumes: + fembot_db: \ No newline at end of file