Update Dockerfile
All checks were successful
ci / build (push) Successful in 36m18s

This commit is contained in:
richardrobertreitz 2025-03-15 12:32:21 +00:00
parent a4afb7fe31
commit 3819407e69

View file

@ -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/ ./