From 2c858ee87e166b844fc3392e580fcb5ec1403207 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Sat, 5 Feb 2022 12:53:18 +0000 Subject: [PATCH] Update .gitlab-ci.yml, Dockerfile --- .gitlab-ci.yml | 5 ++++- Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2265157..bc0a4d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - test diff --git a/Dockerfile b/Dockerfile index a5b9d56..f75af4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"]