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 709e033
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 617 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 --prod

# Copy src files into Working Directory
COPY ./src ${HOME}/src
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"got": "^14.4.3",
"pkg": "^5.8.1",
"typescript": "^5.7.0-beta"
}
}
Loading

0 comments on commit 709e033

Please sign in to comment.