Dockerfile update

This commit is contained in:
Diamantis Tziotzios 2024-04-08 14:22:14 +03:00
parent d59676d6dc
commit 060bfbed20
1 changed files with 2 additions and 2 deletions

View File

@ -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