Skip to content

Commit

Permalink
Merge pull request #346 from Klimatbyran/feat/npm-ci
Browse files Browse the repository at this point in the history
Feat/npm ci
  • Loading branch information
irony authored Nov 28, 2024
2 parents 5b36658 + 6f99c6d commit 71cd548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ghcr.io/klimatbyran/garbo-base:main
COPY package*.json /app/
COPY prisma /app/
WORKDIR /app
RUN npm install --omit=dev
RUN npm ci --omit=dev
RUN npx prisma generate

COPY . /app
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ RUN apk add --no-cache \
libjpeg-turbo-dev

COPY package*.json /app/
COPY prisma /app/
WORKDIR /app
RUN npm install --omit=dev
RUN npm ci --omit=dev

0 comments on commit 71cd548

Please sign in to comment.