From 239d0dcc6c24f09b9220c0ae6250717d431f4bbf Mon Sep 17 00:00:00 2001 From: Simon Gausmann Date: Thu, 28 Oct 2021 19:18:59 +0200 Subject: [PATCH] fix docker && run on node 12 --- workbench/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/workbench/Dockerfile b/workbench/Dockerfile index 9197e62..8312c09 100644 --- a/workbench/Dockerfile +++ b/workbench/Dockerfile @@ -1,5 +1,5 @@ ######### BUILD FRONTEND ######### -FROM node:10 AS frontend +FROM node:12 AS frontend RUN mkdir -p /app @@ -10,7 +10,7 @@ RUN npm install RUN npm run build ######### BUILD BACKEND ########## -FROM node:10 AS builder_backend +FROM node:12 AS builder_backend RUN mkdir -p /app ARG APP_VERSION @@ -32,5 +32,4 @@ RUN ls -a -l /app/backend/dist/** WORKDIR /app/backend -RUN apt-get update && apt-get install -y dos2unix && dos2unix start.sh -CMD [ "./start.sh" ] +CMD [ "src/scripts/start.sh" ]