feat: Externalize API URLs and JWT secret configuration using build arguments and environment variables with default fallbacks.

This commit is contained in:
2026-02-15 14:30:00 -03:00
parent b8827c67b9
commit bb4cd01d99
3 changed files with 16 additions and 5 deletions
+2
View File
@@ -14,6 +14,8 @@ WORKDIR /app
COPY web/studio/package*.json ./
RUN npm install
COPY web/studio/ .
ARG NEXT_PUBLIC_CMS_API_URL
ENV NEXT_PUBLIC_CMS_API_URL=$NEXT_PUBLIC_CMS_API_URL
RUN npm run build
# Final stage