Skip to content

Commit 8f160bb

Browse files
committed
ci(Docker): fix VITE_VERCEL_ENV to production
Dont display UI Lib link. Fix #101
1 parent 4b1ca28 commit 8f160bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ RUN npm install -g pnpm && pnpm i --frozen-lockfile
1313
COPY . .
1414
ARG BASE_URL
1515
ENV BASE_URL=${BASE_URL}
16+
ENV VITE_VERCEL_ENV production
1617
RUN pnpm build
1718

1819
# production stage
1920
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
21+
ENV VITE_VERCEL_ENV production
2022
ARG BASE_URL
2123
ENV BASE_URL=${BASE_URL}
2224
COPY --from=build-stage /app/dist /usr/share/nginx/html

0 commit comments

Comments
 (0)