Skip to content
Snippets Groups Projects
Commit 40753bf2 authored by Henrik's avatar Henrik
Browse files

fix: wrong path

parent 1ff49c82
No related branches found
No related tags found
1 merge request!91Feat/deployment
Pipeline #283816 passed
...@@ -36,5 +36,5 @@ deploy_docker: ...@@ -36,5 +36,5 @@ deploy_docker:
- apt-get -yqq install ssh - apt-get -yqq install ssh
- apt-get install sshpass - apt-get install sshpass
script: script:
- sshpass -p sParest1en ssh -v -o StrictHostKeyChecking=no root@128.199.53.153 "docker rm -f frontend || true; docker run -d -p 80:5173 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend" - sshpass -p sParest1en ssh -v -o StrictHostKeyChecking=no root@128.199.53.153 "docker rm -f frontend || true; docker pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 80:5173 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend"
when: manual when: manual
\ No newline at end of file
...@@ -10,7 +10,7 @@ RUN npm run build ...@@ -10,7 +10,7 @@ RUN npm run build
FROM nginx:stable-alpine as production-stage FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html COPY --from=build-stage /app/dist /usr/share/nginx/html
COPY web/nginx.conf /etc/nginx/nginx.conf COPY web/nginx.conf /etc/nginx/nginx.conf
COPY web/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY web/ca-certificates.crt /etc/ssl/private/ca-certificates.crt
COPY web/nginx-selfsigned.crt /etc/ssl/private/selfsigned.crt COPY web/nginx-selfsigned.crt /etc/ssl/certs/selfsigned.crt
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment