Files
lemp-dockerized/nginx-srv/Dockerfile

11 lines
440 B
Docker

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