mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-16 10:03:12 -07:00
ci: changed registry
This commit is contained in:
parent
042c60cb75
commit
76ecda25d2
1 changed files with 4 additions and 2 deletions
|
@ -3,10 +3,12 @@ FROM node:current-alpine as build-stage
|
|||
ENV INLINE_RUNTIME_CHUNK=false
|
||||
ENV GENERATE_SOURCEMAP=false
|
||||
|
||||
RUN yarn config set registry https://registry.npmjs.org
|
||||
|
||||
WORKDIR /app/frontend
|
||||
COPY ./frontend/package*.json /app/frontend
|
||||
COPY ./frontend/yarn.lock /app/frontend
|
||||
RUN yarn install --registry https://registry.npmjs.org
|
||||
RUN yarn install
|
||||
|
||||
COPY ./frontend /app/frontend
|
||||
RUN yarn build
|
||||
|
@ -20,7 +22,7 @@ COPY --from=build-stage /app/frontend/build /app/frontend/build/
|
|||
WORKDIR /app/backend
|
||||
COPY ./backend/package*.json /app/backend
|
||||
COPY ./backend/yarn.lock /app/backend
|
||||
RUN yarn install --registry https://registry.npmjs.org
|
||||
RUN yarn install
|
||||
|
||||
COPY ./backend /app/backend
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue