remove legacy peer deps
This commit is contained in:
parent
6b57cdd20b
commit
48e9ca17b1
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue