Skip to content

Commit

Permalink
use npm i cuz we don't have package lock json file (pnpm)
Browse files Browse the repository at this point in the history
  • Loading branch information
flamekiller22 committed Jan 10, 2024
1 parent c09d2bc commit 0d3535a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ WORKDIR /app
# RUN yarn install --frozen-lockfile

# If using npm with a `package-lock.json` comment out above and use below instead
COPY package.json package-lock.json ./
RUN npm ci
# COPY package.json package-lock.json ./
# RUN npm ci
COPY package.json ./
RUN npm i

# Rebuild the source code only when needed
FROM node:21-alpine AS builder
Expand Down

0 comments on commit 0d3535a

Please sign in to comment.