From a77d991cf9259949368e048febe8659eb1c897e4 Mon Sep 17 00:00:00 2001 From: William Date: Thu, 23 Jan 2020 07:28:59 +1100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b95ca63a..fc2aeacf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,12 @@ ### STAGE 1: Build ### FROM node:9.11.1-alpine as builder -ARG branch=develop -ENV BRANCH=$branch +ENV BRANCH=master WORKDIR /src/app RUN mkdir -p /src/app/coriolis RUN mkdir -p /src/app/coriolis-data RUN apk add --update git -COPY . /src/app/coriolis - RUN npm i -g npm # Set up coriolis-data @@ -21,6 +18,7 @@ RUN npm start # Set up coriolis WORKDIR /src/app/coriolis +RUN git clone https://github.com/EDCD/coriolis.git . RUN git checkout ${BRANCH} RUN npm install --no-package-lock RUN npm run build