From 0b3f388c2c38e166c0f59469b7c18b23e9a3470d Mon Sep 17 00:00:00 2001 From: hungbvemails Date: Fri, 31 Jul 2026 17:47:51 +0700 Subject: [PATCH] Move yarn install command after copying web files Replaced the yarn install command to run after copying web files. --- docker/dockerfiles/dockerfile_web | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/dockerfiles/dockerfile_web b/docker/dockerfiles/dockerfile_web index d8c296d087..b87b730799 100644 --- a/docker/dockerfiles/dockerfile_web +++ b/docker/dockerfiles/dockerfile_web @@ -15,11 +15,11 @@ COPY bifrost/package.json ./bifrost/ ENV NODE_OPTIONS="--dns-result-order=ipv4first" -RUN yarn install --frozen-lockfile --network-timeout 300000 - COPY packages/ ./packages/ COPY web/ ./web/ +RUN yarn install --frozen-lockfile --network-timeout 300000 + RUN cd web && yarn build FROM node:20-bookworm-slim @@ -35,4 +35,4 @@ COPY --from=builder /app/node_modules/ ./node_modules/ RUN chmod -R o+w /app/web/public -CMD ["yarn", "--cwd", "web", "start"] \ No newline at end of file +CMD ["yarn", "--cwd", "web", "start"]