diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..292e407 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM nginx:alpine +COPY index.html /usr/share/nginx/html/index.html +EXPOSE 58881 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/default.conf b/default.conf new file mode 100644 index 0000000..ae3f6ff --- /dev/null +++ b/default.conf @@ -0,0 +1,10 @@ +server { + listen 58881 default_server; + server_name localhost; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ =404; + } +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e38eebf --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.8' + +services: + wireframe: + build: . + ports: + - "58881:58881" + restart: unless-stopped \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..a8619f3 --- /dev/null +++ b/index.html @@ -0,0 +1,34 @@ + + +
+ + +