This commit is contained in:
parent
16fd12287e
commit
9bfba0ac38
2 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ pipeline:
|
||||||
# Build image
|
# Build image
|
||||||
- docker-compose -f docker-compose.build.yml build pianello-web-app
|
- docker-compose -f docker-compose.build.yml build pianello-web-app
|
||||||
- docker push git.webdeploy.it/pianello/pianello-web-app:latest
|
- docker push git.webdeploy.it/pianello/pianello-web-app:latest
|
||||||
|
- docker push git.webdeploy.it/pianello/pianello-web-app:$(jq -r .version ./package.json)
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,4 @@ EXPOSE 80
|
||||||
|
|
||||||
RUN rm -rf /usr/share/nginx/html/*
|
RUN rm -rf /usr/share/nginx/html/*
|
||||||
|
|
||||||
COPY ./build/ /usr/share/nginx/html/
|
COPY ./dist/ /usr/share/nginx/html/
|
||||||
|
|
Loading…
Reference in a new issue