frontend: docker: use npm ci and lock file

Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
Nicolas Froger 2024-07-26 17:08:46 +02:00
commit 3d6a2991b1
No known key found for this signature in database

View file

@ -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 . .