Skip to content

Commit eae92ca

Browse files
committed
PROCESS: Fix Error 404 in dockerized version.
1 parent 8a037ec commit eae92ca

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ RUN npm run build
88
FROM nginx
99

1010
COPY --from=porphyry-builder /Porphyry/build /usr/share/nginx/html
11+
COPY conf/nginx.conf /etc/nginx/conf.d/default.conf

conf/nginx.conf

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
server {
2+
location / {
3+
root /usr/share/nginx/html;
4+
try_files $uri /index.html;
5+
}
6+
}

0 commit comments

Comments
 (0)