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

This commit is contained in:
Nurfog committed 2026-02-15 14:30:00 -03:00
1 parent b8827c67b9
commit bb4cd01d99
3 files changed
+16 -5

No files matched your search

+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