diff --git a/Makefile b/Makefile index a05a4fb2..ea38339f 100644 --- a/Makefile +++ b/Makefile @@ -24,14 +24,12 @@ push-all: push-backend push-tor push-playwright push-bff push-frontend # backend # -backend_dockerfile_dir := containers/backend/Dockerfile.prod -backend_project_dir := volumes/backend backend_tag := $(registry)/price-monitoring-backend:$(tag_suffix) build-backend: docker build \ -t $(backend_tag) \ - -f $(backend_dockerfile_dir) $(backend_project_dir) + -f containers/backend/Dockerfile.prod volumes/backend push-backend: docker push $(backend_tag) @@ -40,14 +38,12 @@ push-backend: # tor # -tor_dockerfile_dir := containers/tor/Dockerfile.prod -tor_project_dir := volumes/tor tor_tag := $(registry)/price-monitoring-backend-tor:$(tag_suffix) build-tor: docker build \ -t $(tor_tag) \ - -f $(tor_dockerfile_dir) $(tor_project_dir) + -f containers/tor/Dockerfile.prod volumes/tor push-tor: docker push $(tor_tag) @@ -56,13 +52,12 @@ push-tor: # playwright # -playwright_dockerfile_dir := containers/playwright/Dockerfile playwright_tag := $(registry)/price-monitoring-backend-playwright:$(tag_suffix) build-playwright: docker build \ -t $(playwright_tag) \ - -f $(playwright_dockerfile_dir) . + -f containers/playwright/Dockerfile . push-playwright: docker push $(playwright_tag) @@ -71,14 +66,12 @@ push-playwright: # bff # -bff_dockerfile_dir := containers/bff/Dockerfile.prod -bff_project_dir := volumes/bff bff_tag := $(registry)/price-monitoring-bff:$(tag_suffix) build-bff: docker build \ -t $(bff_tag) \ - -f $(bff_dockerfile_dir) $(bff_project_dir) + -f containers/bff/Dockerfile.prod volumes/bff push-bff: docker push $(bff_tag) @@ -87,14 +80,12 @@ push-bff: # frontend # -frontend_dockerfile_dir := containers/frontend/Dockerfile.prod -frontend_project_dir := volumes/frontend frontend_tag := $(registry)/price-monitoring-frontend:$(tag_suffix) build-frontend: docker build \ -t $(frontend_tag) \ - -f $(frontend_dockerfile_dir) $(frontend_project_dir) + -f containers/frontend/Dockerfile.prod volumes/frontend push-frontend: docker push $(frontend_tag)