Skip to content

Commit

Permalink
fix docker && run on node 12
Browse files Browse the repository at this point in the history
  • Loading branch information
GauSim committed Oct 28, 2021
1 parent 5d254f0 commit 239d0dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions workbench/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
######### BUILD FRONTEND #########
FROM node:10 AS frontend
FROM node:12 AS frontend

RUN mkdir -p /app

Expand All @@ -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
Expand All @@ -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" ]

0 comments on commit 239d0dc

Please sign in to comment.