Skip to content

Commit

Permalink
Merge pull request HSLdevcom#1023 from HSLdevcom/fix-docker
Browse files Browse the repository at this point in the history
fix docker
  • Loading branch information
samuliheljo authored Nov 22, 2016
2 parents 18578a4 + 1272b5a commit aeb1502
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ ADD . ${WORK}
# (https://docs.openshift.org/latest/creating_images/guidelines.html#openshift-specific-guidelines)
RUN \
npm install && \
npm run static && \
npm rebuild node-sass && \
npm run build && \
rm -rf static docs test /tmp/* && \
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"scripts": {
"static": "mkdir -p _static/js; mkdir -p _static/css; cp -r static/* _static",
"win-static": "xcopy static\\* _static /e /s /y /i& if not exist _static\\js mkdir _static\\js& if not exist _static\\css mkdir _static\\css",
"prestart": "npm run static",
"prewin-start": "npm run win-static",
"prebuild": "npm run static",
"predev": "npm run static",
"predev-win-hsl": "npm run win-static",
"predev-win-national": "npm run win-static",
Expand Down

0 comments on commit aeb1502

Please sign in to comment.