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 6a213e5 commit 562b6b4Copy full SHA for 562b6b4
Dockerfile
@@ -10,6 +10,7 @@ RUN npm run build
10
11
FROM nginx:latest
12
13
-COPY --from=build /usr/local/yolol/dist/yolol-v2 /usr/share/nginx/html
+COPY ./nginx.conf /etc/nginx/conf.d/default.conf
14
+COPY --from=build /usr/local/yolol/dist/yolol-v2 /usr/share/nginx:w/html
15
16
EXPOSE 80
nginx.conf
@@ -0,0 +1,8 @@
1
+server {
2
+ listen 80;
3
+ location / {
4
+ root /usr/share/nginx:w/html;
5
+ index index.html index.htm;
6
+ try_files $uri $uri/ /index.html =404;
7
+ }
8
+}
0 commit comments