do reset to branch

This commit is contained in:
willyb321
2018-07-26 07:25:32 +10:00
parent cd1e27fd11
commit 5f70d283e0

View File

@@ -16,10 +16,14 @@ RUN npm i -g npm
# Set up coriolis-data
WORKDIR /src/app/coriolis-data
RUN git fetch --all
RUN git reset --hard origin/$BRANCH
RUN npm install --no-package-lock
RUN npm start
WORKDIR /src/app/coriolis
RUN git fetch --all
RUN git reset --hard origin/$BRANCH
RUN rm -rf node_modules/
RUN npm install --no-package-lock
RUN npm run build