14 lines
600 B
Docker
14 lines
600 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 openssl vim curl -y
|
|
|
|
COPY project/entrypoint/entrypoint.sh /entrypoint/entrypoint.sh
|
|
COPY project/entrypoint/gen-cert.sh /entrypoint/gen-cert.sh
|
|
#COPY project/entrypoint/install-nginx-mods.sh /entrypoint/install-nginx-mods.sh
|
|
RUN mkdir /tmp/buildtime && cp /etc/nginx/sites-available/default /tmp/buildtime/default
|
|
RUN mkdir /tmp/www && cp -r /var/www/. /tmp/www/
|
|
ENTRYPOINT ["/bin/sh", "/entrypoint/entrypoint.sh"]
|