mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2024-11-10 09:13:36 +08:00
ci: fix dockerfile
This commit is contained in:
parent
4ae93f95f7
commit
bc99b5e70b
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ WORKDIR /app/
|
||||||
COPY --link tsconfig.json package.json yarn.lock* .yarnrc.yml ./
|
COPY --link tsconfig.json package.json yarn.lock* .yarnrc.yml ./
|
||||||
COPY --link .yarn/ ./.yarn
|
COPY --link .yarn/ ./.yarn
|
||||||
WORKDIR /app/frontend
|
WORKDIR /app/frontend
|
||||||
COPY --link ./frontend/package.json /app/frontend
|
COPY --link ./frontend/package*.json /app/frontend
|
||||||
RUN yarn workspaces focus frontend
|
RUN yarn workspaces focus frontend
|
||||||
COPY --link ./frontend /app/frontend
|
COPY --link ./frontend /app/frontend
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
@ -23,7 +23,7 @@ WORKDIR /app/
|
||||||
COPY --link package.json yarn.lock* .yarnrc.yml ./
|
COPY --link package.json yarn.lock* .yarnrc.yml ./
|
||||||
COPY --link .yarn/ ./.yarn
|
COPY --link .yarn/ ./.yarn
|
||||||
WORKDIR /app/backend
|
WORKDIR /app/backend
|
||||||
COPY --link ./backend/package.json /app/backend
|
COPY --link ./backend/package*.json /app/backend
|
||||||
RUN yarn workspaces focus --production backend && yarn cache clean
|
RUN yarn workspaces focus --production backend && yarn cache clean
|
||||||
|
|
||||||
COPY --link ./backend /app/backend
|
COPY --link ./backend /app/backend
|
||||||
|
|
Loading…
Reference in a new issue