mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-02-27 17:06:13 +08:00
ci: fix build
This commit is contained in:
parent
63713da5e1
commit
2c5c543561
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ ENV GENERATE_SOURCEMAP=false
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend
|
||||||
COPY ./frontend/package*.json /app/frontend
|
COPY ./frontend/package*.json /app/frontend
|
||||||
COPY ./frontend/yarn.lock /app/frontend
|
COPY ./frontend/yarn.lock /app/frontend
|
||||||
RUN yarn install
|
RUN yarn install --network-timeout=30000
|
||||||
|
|
||||||
COPY ./frontend /app/frontend
|
COPY ./frontend /app/frontend
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
@ -20,7 +20,7 @@ COPY --from=build-stage /app/frontend/build /app/frontend/build/
|
||||||
WORKDIR /app/backend
|
WORKDIR /app/backend
|
||||||
COPY ./backend/package*.json /app/backend
|
COPY ./backend/package*.json /app/backend
|
||||||
COPY ./backend/yarn.lock /app/backend
|
COPY ./backend/yarn.lock /app/backend
|
||||||
RUN yarn install
|
RUN yarn install --network-timeout=30000
|
||||||
|
|
||||||
COPY ./backend /app/backend
|
COPY ./backend /app/backend
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue