Files
lemp-dockerized/nginx-srv/project/entrypoint/entrypoint.sh
2025-08-15 19:11:21 +02:00

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