frontend: docker: use npm ci and lock file
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
bbb71db781
commit
3d6a2991b1
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@ FROM node:22-alpine3.19 as builder
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
RUN npm i
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue