From d00fd0f6e4b638df7116834aa15fb631fffade0a Mon Sep 17 00:00:00 2001 From: dlawler489 <104159223@student.swin.edu.au> Date: Wed, 22 Apr 2026 20:22:02 +1000 Subject: [PATCH] Fix API Docker image building wrong stage Missing target: production caused the API image to build the last Dockerfile stage (nginx-frontend) instead of the Node.js server. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/docker-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index a88f1a7..245a975 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -76,6 +76,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + target: production push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}