Skip to content

Commit

Permalink
revert: Dockerfile changes as env vars are managed in cloud-auto repo
Browse files Browse the repository at this point in the history
  • Loading branch information
nss10 committed Jan 22, 2025
1 parent 075d0f2 commit 91d368f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ RUN bun install
ENV QUICK_BUILD true
# ENV GENERATE_SOURCEMAP=false
ARG APP_CONFIG=config/default.js
ARG PUBLIC_URL=/ohif-viewer/
ENV PUBLIC_URL=${PUBLIC_URL}
ARG PUBLIC_URL=/

RUN bun run show:config
RUN bun run build
Expand All @@ -85,9 +84,9 @@ RUN ./.docker/compressDist.sh
# which runs Nginx using Alpine Linux
FROM nginxinc/nginx-unprivileged:1.27-alpine as final
#RUN apk add --no-cache bash
ARG PORT=8080
ARG PORT=80
ENV PORT=${PORT}
ARG PUBLIC_URL=/ohif-viewer/
ARG PUBLIC_URL=/
ENV PUBLIC_URL=${PUBLIC_URL}
RUN rm /etc/nginx/conf.d/default.conf
USER nginx
Expand Down

0 comments on commit 91d368f

Please sign in to comment.