Added docker-compose

This commit is contained in:
Phil 2023-07-30 16:53:24 +02:00
parent dd6d68c3ed
commit 891f63c66c
6 changed files with 20 additions and 0 deletions

5
.dockerignore Normal file
View file

@ -0,0 +1,5 @@
.gitignore
.dockerignore
Dockerfile
docker-compose.yml
README.md

4
Dockerfile Normal file
View file

@ -0,0 +1,4 @@
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html
RUN mkdir -p /usr/share/nginx/html
COPY . /usr/share/nginx/html/

2
Robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-Agent: *
Disallow: /

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4 KiB

9
docker-compose.yml Normal file
View file

@ -0,0 +1,9 @@
version: "3"
services:
app:
build: .
ports:
- 8001:80
environment:
- NGINX_PORT=80
restart: "always"