Updated dockerfile to work with new strucure
the build was successful Details

This commit is contained in:
kolaente 2018-10-14 19:25:47 +02:00
parent ffef5bb872
commit 19b4bdf615
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,3 @@
FROM nginx
ADD src /usr/share/nginx/html
ADD public /usr/share/nginx/html
ADD nginx.conf /etc/nginx/conf.d/default.conf

View File

@ -9,7 +9,8 @@ server {
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
error_page 404 /en/404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}