Skip to content

Commit

Permalink
fix(statics): multiple commands
Browse files Browse the repository at this point in the history
  • Loading branch information
fivehanz committed Aug 4, 2024
1 parent 5a7be0c commit 0211c6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions deployment/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ services:
- .env
volumes:
- ../../static:/app/src/static/
command: "python manage.py collectstatic --noinput --clear && \
python manage.py collectstatic --noinput && \
python manage.py compress --force"

db:
image: postgres:15-alpine
Expand Down
1 change: 0 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ collect_static() {
echo "----------------- collecting static files -----------------"
python manage.py collectstatic --noinput --clear
python manage.py collectstatic --noinput
python manage.py compress --force
}

compress_static() {
Expand Down

0 comments on commit 0211c6d

Please sign in to comment.