From f09b0aab6e6acdae2891212dcfad5566ee680a0b Mon Sep 17 00:00:00 2001 From: Philip Forsberg Date: Thu, 15 Feb 2024 09:55:27 +0100 Subject: [PATCH] fix: change path to yarn.lock --- packages/backend/Dockerfile | 4 ++-- packages/frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/Dockerfile b/packages/backend/Dockerfile index e856dfd3e..c95086a7c 100755 --- a/packages/backend/Dockerfile +++ b/packages/backend/Dockerfile @@ -1,7 +1,7 @@ FROM node:20.6.1-alpine3.18 as develop WORKDIR /app RUN apk add openssl1.1-compat -COPY package.json yarn.lock ./ +COPY package.json ../../yarn.lock ./ RUN echo RUN yarn COPY tsconfig.json ./ @@ -13,7 +13,7 @@ RUN yarn build --webpack FROM node:16-alpine3.17 as prod WORKDIR /app COPY --from=build /app/dist /app/dist -COPY package.json yarn.lock ./ +COPY package.json ../../yarn.lock ./ RUN yarn install --production COPY tsconfig.json ./ COPY ormconfig.prod.js ./ormconfig.js diff --git a/packages/frontend/Dockerfile b/packages/frontend/Dockerfile index 69b661646..26d599b59 100755 --- a/packages/frontend/Dockerfile +++ b/packages/frontend/Dockerfile @@ -1,6 +1,6 @@ FROM node:20.6.1-alpine3.18 as develop WORKDIR /app -COPY package.json yarn.lock ./ +COPY package.json ../../yarn.lock ./ RUN yarn COPY . .