diff --git a/Dockerfile b/Dockerfile index 2d307f9c..b4fd3207 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ FROM nginx:alpine -COPY ping.conf /etc/nginx/conf.d/ping.conf -COPY dist /var/www/html \ No newline at end of file +COPY ping.conf /etc/nginx/conf.d/default.conf +COPY dist /usr/share/nginx/html \ No newline at end of file diff --git a/ping.conf b/ping.conf index 5dec3130..29a59371 100644 --- a/ping.conf +++ b/ping.conf @@ -6,7 +6,7 @@ server { #access_log /var/log/nginx/host.access.log main; location / { - root /var/www/html; + root /usr/share/nginx/html; index index.html index.htm; try_files $uri $uri/ /index.html; }