dont git reset in docker

This commit is contained in:
willyb321
2018-10-21 08:37:08 +11:00
parent e5f8153a34
commit 4fcf074595

View File

@@ -17,13 +17,11 @@ RUN npm i -g npm
# Set up coriolis-data # Set up coriolis-data
WORKDIR /src/app/coriolis-data WORKDIR /src/app/coriolis-data
RUN git fetch --all RUN git fetch --all
RUN git reset --hard origin/$BRANCH
RUN npm install --no-package-lock RUN npm install --no-package-lock
RUN npm start RUN npm start
WORKDIR /src/app/coriolis WORKDIR /src/app/coriolis
RUN git fetch --all RUN git fetch --all
RUN git reset --hard origin/$BRANCH
RUN npm install --no-package-lock RUN npm install --no-package-lock
RUN npm run build RUN npm run build