donal
2018-04-08 265abefe5ca70f3eeb2042c91f9dfe33a42f72a2
FIX - build folder name to dist
2 files modified
4 ■■■■ changed files
Dockerfile 2 ●●● patch | view | raw | blame | history
package.json 2 ●●● patch | view | raw | blame | history
Dockerfile
@@ -14,6 +14,6 @@
RUN scl enable rh-nodejs6 'npm install http-server'
COPY build /usr/src/app
COPY dist /usr/src/app
CMD ["./node_modules/.bin/http-server"]
package.json
@@ -13,7 +13,7 @@
    "package": "zip -r package-contents.zip package-contents",
    "prepare-nexus": "curl -X POST  -u admin:admin123 -H 'Content-Type: application/json' -H 'Accept: application/json' -d @nexus.json http://${NEXUS_ENDPOINT}/service/siesta/rest/v1/script && curl -X POST  -u admin:admin123 -H 'Content-Type: text/plain' -H 'Accept: application/json' http://${NEXUS_ENDPOINT}/service/siesta/rest/v1/script/zip/run",
    "publish": "curl -vvv -u admin:admin123 --upload-file package-contents.zip http://${NEXUS_ENDPOINT}/repository/zip/com/redhat/todolist/${JOB_NAME}.${BUILD_NUMBER}/package-contents.zip",
    "publish:get": "curl -vvv http://admin:admin123@${NEXUS_ENDPOINT}/repository/zip/com/redhat/todolist/${JOB_NAME}.${BUILD_NUMBER}/package-contents.zip -o package-contents.zip"
    "publish:get": "curl -vvv http://admin:admin123@${NEXUS_ENDPOINT}/repository/zip/com/redhat/todolist/${BUILD_TAG}/package-contents.zip -o package-contents.zip"
  },
  "dependencies": {
    "axios": "^0.18.0",