diff --git a/Dockerfile b/Dockerfile index 69cf084..a2b4d2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ libpq-dev \ python3-dev \ python3-pip \ - python3.11-venv \ + python3-venv \ + python-is-python3 \ && \ DEBIAN_FRONTEND=noninteractive apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 45e1722..b08e167 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -19,7 +19,7 @@ services: # # # db service access info # SQLALCHEMY_DATABASE_URI: "${SQLALCHEMY_DATABASE_URI}" - command: [ "bash", "-c", "/app/venv/bin/poetry run setup_db && /app/venv/bin/poetry run srv" ] + command: [ "bash", "-c", "sleep 0 && /app/venv/bin/poetry run setup_db && /app/venv/bin/poetry run srv" ] volumes: - ${WEB_PATH_AT_HOST}/instance:/app/instance - ./.env.dev:/app/.env.local