diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-28 12:16:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-28 12:16:27 +0900 |
| commit | afc5f655c2b08c425f96a445de0aa90190d35c2d (patch) | |
| tree | 77bdf43245c3510946e39f8d1aefc8916d51a6dc /Makefile.prod | |
| parent | 035464702d136f80f4ffaec9dc520251c96f3b37 (diff) | |
| download | phperkaigi-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.prod | 14 |
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 |
