Update .gitlab-ci.yml, Dockerfile
This commit is contained in:
parent
87ab66ff69
commit
2c858ee87e
|
|
@ -1,3 +1,6 @@
|
|||
cache:
|
||||
paths:
|
||||
- build/web
|
||||
stages:
|
||||
- build
|
||||
- push
|
||||
|
|
@ -34,4 +37,4 @@ deploy:
|
|||
- fandogh login --username=$FAN_USR --password=$FAN_PASS
|
||||
- fandogh service apply -f ./deployment/config.yaml -p SEC_NAME
|
||||
only:
|
||||
- test
|
||||
- test
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
FROM nginx:latest
|
||||
COPY /build/web /usr/share/nginx/html/
|
||||
COPY ./build/web /usr/share/nginx/html/
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue