Skip to content

Commit

Permalink
fix ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Kopylov committed Feb 6, 2024
1 parent dc4bdf1 commit bb065f8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ services:
volumes:
- sqlite_data:/database
# command: ["python", "-m", "sqlite3", "${SQLITE_DB_FILE_PATH}", "<", "database/init.sql"]
command: >
sh -c "python -m sqlite3 ${SQLITE_DB_FILE_PATH} < database/init.sql .quit &&
python -m src/__main__.py"
command:
- sh
- -c
- python -m sqlite3 ${SQLITE_DB_FILE_PATH} < database/init.sql
- python -m src/__main__.py
restart: always

sqlitebrowser:
Expand Down

0 comments on commit bb065f8

Please sign in to comment.