diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 61d6e4b..0b42460 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -16,6 +16,8 @@ COPY . . # Set environment for build to ensure server binds to all interfaces ENV HOSTNAME="0.0.0.0" ENV PORT="3000" +# Set API_INTERNAL_URL for build-time Next.js rewrites evaluation +ENV API_INTERNAL_URL="http://workclub-api:8080" RUN bun run build # Stage 3: Runtime