Skip to content

Commit

Permalink
Dockerfile - fix build use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Oct 13, 2024
1 parent 5ee173d commit 85e45a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ FROM node:current-alpine AS build
WORKDIR ${HOME}

# Copy package configs into working Directory
COPY ./package.json ./package-lock.json ./tsconfig.json ${HOME}/
COPY ./package.json ./pnpm-lock.yaml ./tsconfig.json ${HOME}/

# Install required packages
RUN npm ci --omit-dev
RUN pnpm i --omit-dev

# Copy src files into Working Directory
COPY ./src ${HOME}/src
Expand Down

0 comments on commit 85e45a9

Please sign in to comment.