M39: harden application and acceptance gates
This commit is contained in:
@@ -4,6 +4,10 @@ COPY package.json package-lock.json tsconfig.json vite.config.ts index.html ./
|
||||
RUN npm ci --no-audit --no-fund
|
||||
COPY public ./public
|
||||
COPY src ./src
|
||||
# Vite inlines VITE_* variables at build time; leave empty (default) so the SPA talks to
|
||||
# the same origin and nginx proxies /api to the backend.
|
||||
ARG VITE_API_BASE_URL=""
|
||||
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:1.27-alpine
|
||||
|
||||
Reference in New Issue
Block a user