mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-21 21:44:40 +03:00
ci(Docker): fix VITE_VERCEL_ENV to production
Dont display UI Lib link. Fix #101
This commit is contained in:
1 parent
4b1ca280e4
commit
8f160bb241
1 file changed
+2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user