mirror of
https://github.com/netbootxyz/docker-netbootxyz.git
synced 2025-08-07 14:47:24 +02:00
Merge pull request #78 from netbootxyz/limit_envsub
Limit envsub to only variable being changed
This commit is contained in:
commit
9f6022b3a0
@ -13,7 +13,7 @@ mkdir -p \
|
|||||||
[[ ! -f /config/nginx/nginx.conf ]] && \
|
[[ ! -f /config/nginx/nginx.conf ]] && \
|
||||||
cp /defaults/nginx.conf /config/nginx/nginx.conf
|
cp /defaults/nginx.conf /config/nginx/nginx.conf
|
||||||
[[ ! -f /config/nginx/site-confs/default ]] && \
|
[[ ! -f /config/nginx/site-confs/default ]] && \
|
||||||
envsubst < /defaults/default > /config/nginx/site-confs/default
|
envsubst '${NGINX_PORT}' < /defaults/default > /config/nginx/site-confs/default
|
||||||
|
|
||||||
# Ownership
|
# Ownership
|
||||||
chown -R nbxyz:nbxyz /assets
|
chown -R nbxyz:nbxyz /assets
|
||||||
|
Loading…
Reference in New Issue
Block a user