We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
PUBLIC_URL
1 parent cdd1ca5 commit e1e4a3eCopy full SHA for e1e4a3e
Dockerfile
@@ -69,10 +69,10 @@ RUN bun install
69
# Build here
70
# After install it should hopefully be stable until the local directory changes
71
ENV QUICK_BUILD true
72
-ENV PUBLIC_URL /ohif-viewer/
73
# ENV GENERATE_SOURCEMAP=false
74
ARG APP_CONFIG=config/default.js
75
-ARG PUBLIC_URL=/
+ARG PUBLIC_URL=/ohif-viewer/
+ENV PUBLIC_URL=${PUBLIC_URL}
76
77
RUN bun run show:config
78
RUN bun run build
@@ -87,7 +87,7 @@ FROM nginxinc/nginx-unprivileged:1.27-alpine as final
87
#RUN apk add --no-cache bash
88
ENV PORT=8080
89
ENV PORT=${PORT}
90
91
ENV PUBLIC_URL=${PUBLIC_URL}
92
RUN rm /etc/nginx/conf.d/default.conf
93
USER nginx
0 commit comments