Add a Docker Compose file for production
This commit is contained in:
parent
08ad9bab9e
commit
8d557df62a
3 changed files with 44 additions and 0 deletions
2
tools/docker/images/nginx/Dockerfile
Normal file
2
tools/docker/images/nginx/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
FROM nginx:1 as base
|
||||
COPY tools/docker/images/nginx/root /
|
13
tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf
Normal file
13
tools/docker/images/nginx/root/etc/nginx/conf.d/default.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /app;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue