Skip to content

Commit aeb1502

Browse files
authored
Merge pull request HSLdevcom#1023 from HSLdevcom/fix-docker
fix docker
2 parents 18578a4 + 1272b5a commit aeb1502

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ ADD . ${WORK}
2828
# (https://docs.openshift.org/latest/creating_images/guidelines.html#openshift-specific-guidelines)
2929
RUN \
3030
npm install && \
31-
npm run static && \
3231
npm rebuild node-sass && \
3332
npm run build && \
3433
rm -rf static docs test /tmp/* && \

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
"scripts": {
88
"static": "mkdir -p _static/js; mkdir -p _static/css; cp -r static/* _static",
99
"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",
10-
"prestart": "npm run static",
11-
"prewin-start": "npm run win-static",
10+
"prebuild": "npm run static",
1211
"predev": "npm run static",
1312
"predev-win-hsl": "npm run win-static",
1413
"predev-win-national": "npm run win-static",

0 commit comments

Comments
 (0)