Skip to content

Commit

Permalink
hotfix: add the pnpm-workspace.yaml file to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed May 6, 2024
1 parent 76bb82f commit 8c0ef61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion packages/webapp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 8c0ef61

Please sign in to comment.