diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index c246d29..ee901de 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -37,14 +37,14 @@ jobs: - name: Build frontend Docker image working-directory: frontend - run: docker build --target development --tag calpin/playlist-manager-frontend:prod . + run: docker build --target production --tag calpin/playlist-manager-frontend:prod . - name: Push frontend Docker image working-directory: frontend run: docker push calpin/playlist-manager-frontend:prod - name: Build backend Docker image working-directory: backend - run: docker build --target development --tag calpin/playlist-manager-backend:prod . + run: docker build --target production --tag calpin/playlist-manager-backend:prod . - name: Push backend Docker image working-directory: backend run: docker push calpin/playlist-manager-backend:prod diff --git a/compose.yaml b/compose.yaml index 1a7c246..012e8f8 100644 --- a/compose.yaml +++ b/compose.yaml @@ -4,7 +4,7 @@ services: build: context: frontend dockerfile: Dockerfile - target: development + target: production ports: - "8080:8080" env_file: @@ -21,7 +21,7 @@ services: build: context: backend dockerfile: Dockerfile - target: development + target: production ports: - "5000:5000" env_file: