Fix dist path in Dockerfile
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Federico Bologni 2023-05-31 16:26:03 +02:00
parent 16fd12287e
commit 9bfba0ac38
Signed by: zbolo-wd
GPG key ID: DD44ECE4EE4DB604
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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/