Skip to content

Commit

Permalink
Fix portal git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 23, 2024
1 parent f69e712 commit 25fc918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/oni.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ FROM nginx

WORKDIR /tmp
RUN mkdir /usr/share/nginx/html/oni
COPY --from=builder /tmp/oni/portal/dist /usr/share/nginx/html/oni
COPY --from=builder /tmp/oni-ui/portal/dist /usr/share/nginx/html/oni
RUN sed -i '/server {/a \ location /oni/ {\n try_files $uri $uri/ /oni/index.html;\n alias /usr/share/nginx/html/oni/;\n }' /etc/nginx/conf.d/default.conf

0 comments on commit 25fc918

Please sign in to comment.