docker fix

This commit is contained in:
2026-07-10 00:24:05 +03:00
parent 6f904438e2
commit cdf380243d
2 changed files with 2 additions and 5 deletions
+1
View File
@@ -95,6 +95,7 @@ Files used by Docker:
- `Dockerfile` builds a small Python image for the bot.
- `docker-compose.yml` mounts `./config.toml` read-only into the container.
- `docker-compose.yml` mounts `./data` to `/app/data` so SQLite data persists across restarts/rebuilds.
- The container runs as root so it can write to the bind-mounted `./data` directory on normal Docker/Podman setups. If you change the container user, make sure that user can write to `./data`.
- `.dockerignore` keeps secrets, local DB files, virtualenvs, and caches out of the image build context.
## Admin usage