From 650a74ac00d5bdbe6ddd14a540d546e27f0238be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Casaj=C3=BAs?= Date: Tue, 17 Jan 2023 09:57:38 +0100 Subject: [PATCH] Fix: Use npm ci instead of install to prevent install different versions (#1543) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adrià Casajús --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b8916f1..61638f7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:10.17.0-alpine AS npm WORKDIR /code COPY ./static/package*.json /code/static/ -RUN cd /code/static && npm install +RUN cd /code/static && npm ci # Main image FROM python:3.10