Skip to content

Commit

Permalink
remove redundant (?) poetry install
Browse files Browse the repository at this point in the history
  • Loading branch information
crosspolar committed Jan 29, 2025
1 parent 3297f82 commit 4233833
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ services:
build:
context: .
dockerfile: ./django.Dockerfile
command: bash -c "poetry install &&
poetry run python manage.py compilemessages --ignore \".venv\" &&
command: bash -c "poetry run python manage.py compilemessages --ignore \".venv\" &&
poetry run python manage.py runserver_plus 0.0.0.0:80"
volumes:
- .:/app
Expand Down Expand Up @@ -67,8 +66,7 @@ services:

celery:
image: tapir-image
command: bash -c "poetry install &&
poetry run celery -A tapir worker -l info"
command: bash -c "poetry run celery -A tapir worker -l info"
volumes:
- .:/app
environment:
Expand All @@ -79,8 +77,7 @@ services:
celery-beat:
image: tapir-image
# --schedule to avoid polluting the app directory
command: bash -c "poetry install &&
poetry run celery -A tapir beat -l info --schedule /tmp/celerybeat-schedule"
command: bash -c "poetry run celery -A tapir beat -l info --schedule /tmp/celerybeat-schedule"
volumes:
- .:/app
environment:
Expand Down

0 comments on commit 4233833

Please sign in to comment.