diff --git a/Dockerfile b/Dockerfile index dd4d4795e8..6efad53e82 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/* && \ diff --git a/package.json b/package.json index e8eaf1d97e..5930dd7989 100644 --- a/package.json +++ b/package.json @@ -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",