Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Kopylov committed Feb 22, 2024
1 parent d6e7e3c commit 8d60c66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ services:
bot:
build: .
environment:
- SQLITE_DB_FILE_PATH=${SQLITE_DB_FILE_PATH}
- SQLITE_DB_FILE_PATH=/database/db.sqlite
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- DEVELOPER_CHAT_ID=${DEVELOPER_CHAT_ID}
volumes:
- sqlite_data:/database
entrypoint: ["/bin/sh", "-c"]
command:
- |
python -m sqlite3 ${SQLITE_DB_FILE_PATH} < src/sql/init.sql
python src/__main__.py
python -m sqlite3 ${SQLITE_DB_FILE_PATH} < src/sql/init.sql;
python src/__main__.py;
restart: always

sqlitebrowser:
Expand Down

0 comments on commit 8d60c66

Please sign in to comment.