Fix docker-entrypoint.sh
This commit is contained in:
parent
9124e41ec2
commit
faa9aaa740
@ -3,5 +3,5 @@
|
||||
# מחליף את הטמפלייט במשתנה האמיתי שהוזן כ־ENV
|
||||
envsubst < /usr/share/nginx/html/env.js.template > /usr/share/nginx/html/env.js
|
||||
|
||||
# מריץ את nginx
|
||||
exec nginx -g "daemon off;"
|
||||
# מריץ את הפקודה שהוגדרה ב־CMD (nginx...)
|
||||
exec "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user