diff --git a/docker-compose.yaml b/docker-compose.yaml index ad03132..54fc005 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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: