mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +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 . .
|
||||
ARG BASE_URL
|
||||
ENV BASE_URL=${BASE_URL}
|
||||
ENV VITE_VERCEL_ENV production
|
||||
RUN pnpm build
|
||||
|
||||
# production stage
|
||||
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
|
||||
ENV VITE_VERCEL_ENV production
|
||||
ARG BASE_URL
|
||||
ENV BASE_URL=${BASE_URL}
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
|
||||
Reference in new issue
Block a user