Update docker and build to set API host
All checks were successful
release-image / release-image (push) Successful in 10m23s

This commit is contained in:
Logan Cusano
2025-05-26 19:36:38 -04:00
parent 009d3f7987
commit f16099ba38
2 changed files with 15 additions and 8 deletions

View File

@@ -19,6 +19,11 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
# Add an ARG for NEXT_PUBLIC_DRB_BASE_API_URL
ARG NEXT_PUBLIC_DRB_BASE_API_URL
# Set it as an ENV variable for the build
ENV NEXT_PUBLIC_DRB_BASE_API_URL=${NEXT_PUBLIC_DRB_BASE_API_URL}
# Build the Next.js application for production
ENV NODE_ENV=production
RUN npm run build