12 lines
285 B
Bash
12 lines
285 B
Bash
#!/bin/sh
|
|
|
|
apt-get update; apt-get full-upgrade -y; apt-get install nginx certbot python3-certbot-nginx openssl vim curl iputils-ping -y; apt-get autoclean -y
|
|
|
|
/bin/sh /entrypoint/gen-cert.sh
|
|
service nginx start
|
|
|
|
# Run the CMD that was passed (or default)
|
|
exec "$@"
|
|
|
|
tail -f /dev/null
|