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;"]