changed COPY path again :(

This commit is contained in:
AHMZA
2021-12-08 23:17:09 +00:00
parent 25a27184fe
commit 37d2e21cf7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
FROM nginx:alpine
COPY ./public /var/www
COPY ./public /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
ENTRYPOINT ["nginx","-g","daemon off;"]
+1
View File
@@ -33,6 +33,7 @@ http {
index index.html index.htm;
location / {
root /usr/share/nginx/html
# First attempt to serve request as file, then
# as directory, then fall back to redirecting to index.html
try_files $uri $uri/ /index.html;