remove legacy peer deps

This commit is contained in:
Alexandros Mandilaras 2024-04-08 14:08:10 +03:00
parent 6b57cdd20b
commit 48e9ca17b1
1 changed files with 2 additions and 1 deletions

View File

@ -3,9 +3,10 @@ FROM node:20-alpine AS builder
# copy the package.json to install dependencies # copy the package.json to install dependencies
COPY package.json ./ COPY package.json ./
COPY package-lock.json ./
# Install the dependencies and make the folder # Install the dependencies and make the folder
RUN npm install --legacy-peer-deps && mkdir /src && mv ./node_modules ./src RUN npm install && mkdir /src && mv ./node_modules ./src
WORKDIR /src WORKDIR /src