Skip to content

Commit b2009fe

Browse files
fix build issue (#1644)
1 parent eb4821f commit b2009fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/app.Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ WORKDIR /app
4949
ARG DATABASE_URL="postgresql://user:pass@localhost:5432/dummy"
5050
ENV DATABASE_URL=${DATABASE_URL}
5151

52+
# Provide dummy NEXT_PUBLIC_APP_URL for build-time evaluation
53+
# Runtime environments should override this with the actual URL
54+
ARG NEXT_PUBLIC_APP_URL="http://localhost:3000"
55+
ENV NEXT_PUBLIC_APP_URL=${NEXT_PUBLIC_APP_URL}
56+
5257
RUN bun run build
5358

5459
# ========================================

0 commit comments

Comments
 (0)