From 8c0ef61038368d7b020c9c620c9c730505abcfaa Mon Sep 17 00:00:00 2001 From: Ahmed Bouhuolia Date: Mon, 6 May 2024 22:28:13 +0200 Subject: [PATCH] hotfix: add the pnpm-workspace.yaml file to Dockerfile --- packages/server/Dockerfile | 1 + packages/webapp/Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index 3b0634dc4..be4426405 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -93,6 +93,7 @@ RUN npm install -g pnpm COPY ./package*.json ./ COPY ./pnpm-lock.yaml ./pnpm-lock.yaml COPY ./lerna.json ./lerna.json +COPY ./pnpm-workspace.yaml ./pnpm-workspace.yaml COPY ./packages/server/package*.json ./packages/server/ # Install application dependencies diff --git a/packages/webapp/Dockerfile b/packages/webapp/Dockerfile index 08f1d6f00..72db05769 100644 --- a/packages/webapp/Dockerfile +++ b/packages/webapp/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app COPY ./package*.json ./ COPY ./pnpm-lock.yaml ./pnpm-lock.yaml COPY ./lerna.json ./lerna.json +COPY ./pnpm-workspace.yaml ./pnpm-workspace.yaml COPY ./packages/webapp/package*.json ./packages/webapp/ # Install application dependencies @@ -23,7 +24,7 @@ RUN pnpm install # Build webapp package COPY ./packages/webapp /app/packages/webapp -RUN npm run build:webapp +RUN pnpm run build:webapp FROM nginx