aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.prod
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-28 12:16:27 +0900
committernsfisis <nsfisis@gmail.com>2026-02-28 12:16:27 +0900
commitafc5f655c2b08c425f96a445de0aa90190d35c2d (patch)
tree77bdf43245c3510946e39f8d1aefc8916d51a6dc /Makefile.prod
parent035464702d136f80f4ffaec9dc520251c96f3b37 (diff)
downloadphperkaigi-2026-albatross-afc5f655c2b08c425f96a445de0aa90190d35c2d.tar.gz
phperkaigi-2026-albatross-afc5f655c2b08c425f96a445de0aa90190d35c2d.tar.zst
phperkaigi-2026-albatross-afc5f655c2b08c425f96a445de0aa90190d35c2d.zip
chore(dev): remove temporary containers
Diffstat (limited to 'Makefile.prod')
-rw-r--r--Makefile.prod14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.prod b/Makefile.prod
index 61fcf53..3b63aeb 100644
--- a/Makefile.prod
+++ b/Makefile.prod
@@ -40,15 +40,15 @@ psql-query:
sqldef-dryrun: down
${DOCKER_COMPOSE} build db
${DOCKER_COMPOSE} up --wait db
- ${DOCKER_COMPOSE} run --no-TTY tools psqldef --dry-run < ./backend/schema.sql
-
-.PHONY: asynq
-asynq:
- ${DOCKER_COMPOSE} up --wait db
- ${DOCKER_COMPOSE} run tools go run github.com/hibiken/asynq/tools/asynq --uri task-db:6379 dash
+ ${DOCKER_COMPOSE} run --rm --no-TTY tools psqldef --dry-run < ./backend/schema.sql
.PHONY: sqldef
sqldef: down
${DOCKER_COMPOSE} build db
${DOCKER_COMPOSE} up --wait db
- ${DOCKER_COMPOSE} run --no-TTY tools psqldef < ./backend/schema.sql
+ ${DOCKER_COMPOSE} run --rm --no-TTY tools psqldef < ./backend/schema.sql
+
+.PHONY: asynq
+asynq:
+ ${DOCKER_COMPOSE} up --wait db
+ ${DOCKER_COMPOSE} run --rm tools go run github.com/hibiken/asynq/tools/asynq --uri task-db:6379 dash