Skip to content

Commit

Permalink
Make it easier to build and investigate images akin to production
Browse files Browse the repository at this point in the history
Production images are built using buildx which can result in slightly
different images compared to running docker build and docker compose build

elifesciences/issues#9138
  • Loading branch information
davidcmoulton committed Jan 30, 2025
1 parent 30c609f commit 60d8396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ dev: bring-up-app-and-queue-watcher
docker compose --file docker-compose.yaml --file docker-compose.dev.yaml logs --follow

.PHONY: prod
prod: bring-up-app-and-queue-watcher
prod: config.php
docker compose --file docker-compose.yaml --file docker-compose.prod.yaml build
docker compose --file docker-compose.yaml --file docker-compose.prod.yaml up --wait
docker compose --file docker-compose.yaml --file docker-compose.prod.yaml logs --follow

.PHONY: bring-up-app-and-queue-watcher
Expand Down

0 comments on commit 60d8396

Please sign in to comment.