13 lines
257 B
Bash
13 lines
257 B
Bash
#!/bin/sh
|
|
|
|
apt-get install -y nginx certbot python3-certbot-nginx openssl; apt-get autoclean -y
|
|
|
|
/bin/sh /entrypoint/gen-cert.sh
|
|
/bin/sh /entrypoint/copy-config.sh
|
|
service nginx start
|
|
|
|
# Run the CMD that was passed (or default)
|
|
exec "$@"
|
|
|
|
tail -f /dev/null
|