We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdd440 commit e2108baCopy full SHA for e2108ba
Dockerfile
@@ -14,3 +14,4 @@ RUN npm run build
14
FROM nginx:alpine
15
16
COPY --from=build-step /app/build /usr/share/nginx/html
17
+COPY --from=build-step /app/nginx.conf /etc/nginx/conf.d/default.conf
nginx.conf
@@ -0,0 +1,8 @@
1
+server {
2
+ listen 80;
3
+ location / {
4
+ root /usr/share/nginx/html;
5
+ index index.html index.htm;
6
+ try_files $uri $uri/ /index.html =404;
7
+ }
8
+}
0 commit comments