1
slides/docker-entrypoint.sh

10 lines
121 B
Bash
Raw Permalink Normal View History

2024-03-03 17:45:52 +00:00
#!/usr/bin/env sh
set -e
# Update nginx user id
deluser nginx
2024-03-03 19:41:34 +00:00
adduser -u "$PUID" -D nginx
2024-03-03 17:45:52 +00:00
exec nginx -g "daemon off;"