Update .gitlab-ci.yml, Dockerfile

This commit is contained in:
MohammadTaha Basiri 2022-02-05 12:53:18 +00:00
parent 87ab66ff69
commit 2c858ee87e
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
cache:
paths:
- build/web
stages: stages:
- build - build
- push - push

View File

@ -1,3 +1,3 @@
FROM nginx:latest FROM nginx:latest
COPY /build/web /usr/share/nginx/html/ COPY ./build/web /usr/share/nginx/html/
ENTRYPOINT ["nginx", "-g", "daemon off;"] ENTRYPOINT ["nginx", "-g", "daemon off;"]