From b545644f19f7a49586b3a50debf4472d4d341fd0 Mon Sep 17 00:00:00 2001 From: Chris Lo <46541035+topher-lo@users.noreply.github.com> Date: Sat, 22 Jun 2024 10:11:46 -0700 Subject: [PATCH] ci(fix): Set NODE_ENV in build push ui image to production --- .github/workflows/build-push-images.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push-images.yml b/.github/workflows/build-push-images.yml index fbd44cb26..0ffc1df7c 100644 --- a/.github/workflows/build-push-images.yml +++ b/.github/workflows/build-push-images.yml @@ -77,12 +77,12 @@ jobs: - name: Build and push Docker image uses: docker/build-push-action@v6 env: - NEXT_PUBLIC_API_URL: http://localhost:3000 + NEXT_PUBLIC_API_URL: http://localhost:8000 NEXT_PUBLIC_APP_URL: http://localhost:3000 NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: "secret-clerk-publishable-key" NEXT_PUBLIC_DISABLE_AUTH: "true" NEXT_SERVER_API_URL: http://localhost:8000 - NODE_ENV: development + NODE_ENV: production with: context: frontend file: frontend/Dockerfile.prod