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 0085cb6 commit ad2cc1aCopy full SHA for ad2cc1a
Dockerfile
@@ -15,5 +15,6 @@ RUN yarn build-prod
15
16
FROM nginx:stable-alpine
17
COPY --from=build /app/dist /usr/share/nginx/html
18
+COPY nginx.conf /etc/nginx/conf.d/default.conf
19
EXPOSE 80
20
CMD ["nginx", "-g", "daemon off;"]
nginx.conf
@@ -0,0 +1,9 @@
1
+server {
2
+ listen 80;
3
+
4
+ location / {
5
+ root /usr/share/nginx/html;
6
+ index index.html;
7
+ try_files $uri $uri/ /index.html;
8
+ }
9
+}
0 commit comments