12 lines
526 B
Docker
12 lines
526 B
Docker
FROM debian:bookworm
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV DEBCONF_NONINTERACTIVE_SEEN=true
|
|
|
|
RUN apt-get update; apt-get full-upgrade -y; apt-get autoclean -y; apt-get install -y vim curl iputils-ping; apt-get install -y nginx certbot python3-certbot-nginx openssl --download-only
|
|
|
|
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
|
COPY project/entrypoint/copy-config.sh /entrypoint/copy-config.sh
|
|
COPY project/entrypoint/gen-cert.sh /entrypoint/gen-cert.sh
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]
|