Dockerfile update
This commit is contained in:
parent
d59676d6dc
commit
060bfbed20
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue