Skip to content

Commit

Permalink
Fixed [Errno 2] No such file or directory with recent poetry, #11.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdocua committed Apr 2, 2024
1 parent ad24b7e commit eaf5d77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eaf5d77

Please sign in to comment.