빌드 깨짐 수정
This commit is contained in:
10
docker-entrypoint.sh
Executable file
10
docker-entrypoint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status.
|
||||
set -e
|
||||
|
||||
# Substitute environment variables in the nginx template
|
||||
envsubst '${VITE_API_PROXY_TARGET}' < /etc/nginx/templates/nginx.conf.template > /etc/nginx/nginx.conf
|
||||
|
||||
# Execute the command passed to this script, e.g., "nginx -g 'daemon off;'"
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user