This commit is contained in:
parent
a4afb7fe31
commit
3819407e69
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ WORKDIR /app
|
|||
COPY --from=packages --chown=node:node /app .
|
||||
|
||||
RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid=1000 \
|
||||
yarn install --frozen-lockfile --network-timeout 600000
|
||||
yarn install --network-timeout 600000
|
||||
|
||||
COPY --chown=node:node . .
|
||||
|
||||
|
@ -80,7 +80,7 @@ WORKDIR /app
|
|||
COPY --from=build --chown=node:node /app/yarn.lock /app/package.json /app/packages/backend/dist/skeleton/ ./
|
||||
|
||||
RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid=1000 \
|
||||
yarn install --frozen-lockfile --production --network-timeout 600000
|
||||
yarn install --production --network-timeout 600000
|
||||
|
||||
# Copy the built packages from the build stage
|
||||
COPY --from=build --chown=node:node /app/packages/backend/dist/bundle/ ./
|
||||
|
|
Loading…
Reference in a new issue