diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f3cd543 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +git \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..22ab624 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx/nginx:latest + +COPY . /usr/share/nginx/html + +EXPOSE 80 \ No newline at end of file diff --git a/dockercompose.yaml b/dockercompose.yaml new file mode 100644 index 0000000..8da5cbe --- /dev/null +++ b/dockercompose.yaml @@ -0,0 +1,11 @@ +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 diff --git a/index.html b/index.html new file mode 100644 index 0000000..2e28ee2 --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + +
+ +