Skip to content

Commit

Permalink
chore(docker): Use docker build hook to do actual building when using…
Browse files Browse the repository at this point in the history
… npm, append '-dev' to manual builds
  • Loading branch information
cooperaj authored and jkuri committed Nov 10, 2017
1 parent f0c9027 commit 44a85a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"build:prod": "npm run build && npm run build:app:prod",
"build:app": "webpack --env.dev --progress",
"build:app:prod": "webpack --env.aot --env.prod -p",
"build-image": "GIT_REV=$(git rev-parse --short HEAD); docker build -t bleenco/abstruse:${npm_package_version} --label org.label-schema.version=\"${npm_package_version}\" --label org.label-schema.vcs-ref=\"${GIT_REV}\" .",
"build-image": "IMAGE_NAME=bleenco/abstruse:${npm_package_version}-dev DOCKER_TAG=${npm_package_version}-dev SOURCE_COMMIT=`git rev-parse HEAD` hooks/build",
"start": "webpack-dev-server --env.dev --env.serve --progress --hot",
"start:aot": "webpack-dev-server --env.aot --env.dev --env.serve --progress --hot",
"lint": "tslint ./src/**/*.ts",
Expand Down

0 comments on commit 44a85a9

Please sign in to comment.