Update pipeline script
This commit is contained in:
parent
38e133a98e
commit
77a99e2deb
2 changed files with 2 additions and 2 deletions
|
|
@ -39,6 +39,6 @@ pipeline:
|
|||
- docker build -t frontend:${CI_COMMIT_SHA} .
|
||||
- docker stop frontend || true
|
||||
- docker rm frontend || true
|
||||
- docker run -d --name frontend -p 5173:5173 frontend:${CI_COMMIT_SHA}
|
||||
- docker run -d --name frontend -p 5173:80 frontend:${CI_COMMIT_SHA}
|
||||
when:
|
||||
branch: master
|
||||
|
|
@ -2,5 +2,5 @@
|
|||
FROM nginx:alpine
|
||||
COPY dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 5173
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue