Skip to content

Commit

Permalink
Updated dockerfile to generate settings.json from template using `env…
Browse files Browse the repository at this point in the history
…subst`.
  • Loading branch information
rmaffitsancsoft committed Apr 5, 2024
1 parent db36821 commit 630fbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/angular/hq/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ EXPOSE 80/tcp
COPY --from=src nginx.conf /etc/nginx/nginx.conf
COPY ./ /usr/share/nginx/html

# CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/config/settings.template.json > /usr/share/nginx/html/config/settings.json && exec nginx -g 'daemon off;'"]
CMD ["/bin/sh", "-c", "envsubst < /usr/share/nginx/html/config/settings.template.json > /usr/share/nginx/html/config/settings.json && exec nginx -g 'daemon off;'"]

0 comments on commit 630fbe5

Please sign in to comment.