Skip to content

Commit

Permalink
docker: only run nginx website | 3
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Sep 29, 2023
1 parent 295e98d commit 982ea42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infrastructure/docker/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apk add --update curl && \

COPY infrastructure/docker/nginx/default.conf /etc/nginx/conf.d/default.conf
COPY infrastructure/docker/nginx/nginx.conf /etc/nginx/nginx.conf
COPY infrastructure/docker/nginx/proxy-config-guest.conf /etc/nginx/proxy-config-guest.conf
# COPY infrastructure/docker/nginx/proxy-config-guest.conf /etc/nginx/proxy-config-guest.conf

RUN mkdir /dashboard

Expand All @@ -22,6 +22,6 @@ CMD ["nginx", "-g", "daemon off;"]

FROM dev as prod

COPY infrastructure/docker/nginx/ontop.conf.template /etc/nginx/ontop.conf.template
# COPY infrastructure/docker/nginx/ontop.conf.template /etc/nginx/ontop.conf.template
COPY infrastructure/docker/nginx/index.js /www/restricted/index.js
CMD ["/bin/sh", "-c", "envsubst '$KEYCLOAK_REALM_URL' < /etc/nginx/ontop.conf.template > /etc/nginx/ontop.conf && nginx -g 'daemon off;'"]

0 comments on commit 982ea42

Please sign in to comment.