ci(Docker): fix VITE_VERCEL_ENV to production

Dont display UI Lib link. Fix #101
This commit is contained in:
ShareVB committed 2025-09-14 17:13:46 +02:00
1 parent 4b1ca280e4
commit 8f160bb241
1 file changed
+2
+2
View File
@@ -13,10 +13,12 @@ RUN npm install -g pnpm && pnpm i --frozen-lockfile
COPY . . COPY . .
ARG BASE_URL ARG BASE_URL
ENV BASE_URL=${BASE_URL} ENV BASE_URL=${BASE_URL}
ENV VITE_VERCEL_ENV production
RUN pnpm build RUN pnpm build
# production stage # production stage
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
ENV VITE_VERCEL_ENV production
ARG BASE_URL ARG BASE_URL
ENV BASE_URL=${BASE_URL} ENV BASE_URL=${BASE_URL}
COPY --from=build-stage /app/dist /usr/share/nginx/html COPY --from=build-stage /app/dist /usr/share/nginx/html