nginx things

This commit is contained in:
Rafi Greenberg
2021-02-03 10:21:14 -08:00
parent 98bcab5b81
commit 1ddf9fe813
2 changed files with 7 additions and 10 deletions

View File

@@ -8,3 +8,4 @@ RUN npm run build
FROM nginx:alpine
COPY --from=builder build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf

View File

@@ -1,6 +1,3 @@
events { worker_connections 1024; }
http {
server {
listen 80;
root /usr/share/nginx/html;
@@ -10,4 +7,3 @@ http {
try_files $uri /index.html;
}
}
}