Added docker-compose
This commit is contained in:
parent
dd6d68c3ed
commit
891f63c66c
6 changed files with 20 additions and 0 deletions
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
.gitignore
|
||||
.dockerignore
|
||||
Dockerfile
|
||||
docker-compose.yml
|
||||
README.md
|
4
Dockerfile
Normal file
4
Dockerfile
Normal 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
2
Robots.txt
Normal 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
9
docker-compose.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
version: "3"
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- 8001:80
|
||||
environment:
|
||||
- NGINX_PORT=80
|
||||
restart: "always"
|
Loading…
Reference in a new issue