diff --git a/.dockerignore b/.dockerignore index f3cd543..b3ca53e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,4 @@ .git -git \ No newline at end of file +git +.gitea +README.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 853bf49..362d14c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ -FROM nginx:latest +FROM joseluisq/static-web-server:2.40 +ENV SERVER_PORT=8080 +ENV SERVER_HOST=0.0.0.0 +ENV SERVER_ROOT=/public +ENV SERVER_LOG_LEVEL=info -COPY . /usr/share/nginx/html +COPY . /public -EXPOSE 80 \ No newline at end of file +USER 61919 +EXPOSE 8080 \ No newline at end of file diff --git a/dockercompose.yaml b/dockercompose.yaml deleted file mode 100644 index 8da5cbe..0000000 --- a/dockercompose.yaml +++ /dev/null @@ -1,11 +0,0 @@ -version: "3.8" - -services: - web: - image: git.fjla.uk/fred.boniface/scripts:latest - ports: - - "4321:80" - deploy: - replicas: 1 - restart_policy: - condition: on_failure \ No newline at end of file