From 060bfbed20169b6f78ffe2d8d8fb8de48ede0d2c Mon Sep 17 00:00:00 2001 From: Diamantis Tziotzios Date: Mon, 8 Apr 2024 14:22:14 +0300 Subject: [PATCH] Dockerfile update --- dmp-frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmp-frontend/Dockerfile b/dmp-frontend/Dockerfile index b38459d99..0ac4492d7 100644 --- a/dmp-frontend/Dockerfile +++ b/dmp-frontend/Dockerfile @@ -1,11 +1,11 @@ # stage1 as builder -FROM node:20-alpine AS builder +FROM node:18-alpine AS builder # copy the package.json to install dependencies COPY package.json ./ # Install the dependencies and make the folder -RUN npm install && mkdir /src && mv ./node_modules ./src +RUN npm install --legacy-peer-deps && mkdir /src && mv ./node_modules ./src WORKDIR /src