Skip to content

Commit a38005f

Browse files
committed
try to fix docker-compose error
1 parent 677bf36 commit a38005f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ deploy_local:
4343
docker-compose up -d
4444
make -f vue/Makefile build
4545
source env.hosts.prod && rsync -av --delete vue/dist $$VUE_LOCAL_PATH
46-
docker-compose exec django make migrate
47-
docker-compose exec django killall -TERM gunicorn
46+
docker-compose exec -T django make migrate
47+
docker-compose exec -T django killall -TERM gunicorn
4848

4949
slack-push:
5050
source env.hosts.prod && test -v SLACK_APP_HOOK && curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"$$SLACK_APP_TEXT\"}" "https://hooks.slack.com/services/$$SLACK_APP_HOOK"

vue/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GEMEINDESCAN_WEBUI_VUE=0.3.2
2-
DOCKER_EXEC=$(shell command -v docker > /dev/null && echo "docker-compose exec vue")
2+
DOCKER_EXEC=$(shell command -v docker > /dev/null && echo "docker-compose exec -T vue")
33

44

55
.PHONY: all

0 commit comments

Comments
 (0)