From 99a092168540c6a9c8a58945b6170c95dd5ad3a1 Mon Sep 17 00:00:00 2001 From: Viet Anh Nguyen <nv.anh5@samsung.com> Date: Mon, 5 Feb 2024 18:47:57 +0700 Subject: [PATCH] Fix FE build --- cope2n-fe/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cope2n-fe/Dockerfile b/cope2n-fe/Dockerfile index 76bc6c7..f0b31ef 100644 --- a/cope2n-fe/Dockerfile +++ b/cope2n-fe/Dockerfile @@ -2,7 +2,7 @@ FROM node:21-alpine AS build WORKDIR /app/ COPY --chown=node:node package*.json ./ -RUN npm install +RUN npm install -g npm@10.4.0 && npm install COPY --chown=node:node . . RUN npm run build RUN npm cache clean --force