From 118ac0486c6c0cc5c86c6abde5758c090c421894 Mon Sep 17 00:00:00 2001 From: dominicwest Date: Tue, 24 Oct 2023 22:27:19 +0100 Subject: [PATCH] #2 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 287e8ee..788e54d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,12 @@ WORKDIR /app ENV NODE_ENV production -RUN yarn install - # Copy production build COPY --from=build /app/package*.json /app/ COPY --from=build /app/yarn.lock /app/ + +RUN yarn install + COPY --from=build /app/dist/ /app/dist/ COPY --from=build /app/tsconfig.build.json/ /app/tsconfig.build.json/ COPY --from=build /app/tsconfig.json/ /app/tsconfig.json/