Skip to content

Commit 24fb8fc

Browse files
mechramcclaude
andcommitted
fix(deploy): pass NEXT_PUBLIC_API_URL build arg to web Docker build
Without this, the Next.js bundle defaults to http://localhost:4000 which doesn't resolve from the user's browser, causing projects to silently fail to load. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7af7b34 commit 24fb8fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ jobs:
100100
context: .
101101
file: apps/web/Dockerfile
102102
push: true
103+
build-args: |
104+
NEXT_PUBLIC_API_URL=https://blueflame-api-dev.blackfield-ff30bbff.centralus.azurecontainerapps.io
103105
tags: |
104106
${{ env.WEB_IMAGE }}:${{ github.sha }}
105107
${{ env.WEB_IMAGE }}:latest

0 commit comments

Comments
 (0)