Skip to content
Snippets Groups Projects
Commit 175f306d authored by Henrik's avatar Henrik
Browse files

fix: fix 21

parent eaaf50cd
No related branches found
No related tags found
Loading
Pipeline #283896 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 pull registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend && docker run -d -p 82: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 --name frontend registry.gitlab.com/$DOCKER_USER/sparesti-registry:frontend"
when: manual when: manual
\ No newline at end of file
...@@ -10,5 +10,5 @@ RUN npm run build ...@@ -10,5 +10,5 @@ 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
EXPOSE 5173 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
...@@ -6,6 +6,9 @@ import vueJsx from '@vitejs/plugin-vue-jsx' ...@@ -6,6 +6,9 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
server: {
port: 80,
},
plugins: [ plugins: [
vue(), vue(),
vueJsx(), vueJsx(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment