mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-08-20 05:13:57 -07:00
ci: fix dockerfile
This commit is contained in:
parent
eaddab54c2
commit
33cb80f8f5
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
FROM node:current-alpine as build-stage
|
FROM node:lts-alpine as build-stage
|
||||||
|
|
||||||
ENV INLINE_RUNTIME_CHUNK=false
|
ENV INLINE_RUNTIME_CHUNK=false
|
||||||
ENV GENERATE_SOURCEMAP=false
|
ENV GENERATE_SOURCEMAP=false
|
||||||
|
|
||||||
RUN yarn set version berry
|
RUN yarn set version 3.x
|
||||||
|
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend
|
||||||
COPY ./frontend/package*.json /app/frontend
|
COPY ./frontend/package*.json /app/frontend
|
||||||
|
@ -14,7 +14,7 @@ COPY ./frontend /app/frontend
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
|
|
||||||
FROM node:current-alpine
|
FROM node:lts-alpine
|
||||||
|
|
||||||
WORKDIR /app/frontend/build
|
WORKDIR /app/frontend/build
|
||||||
COPY --from=build-stage /app/frontend/build /app/frontend/build/
|
COPY --from=build-stage /app/frontend/build /app/frontend/build/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue