FROM ubuntu:18.04
RUN apt update -y \
&& apt install nginx curl vim -y \
&& apt-get install software-properties-common -y \
&& add-apt-repository ppa:certbot/certbot -y \
&& apt-get update -y \
&& apt-get install python-certbot-nginx -y \
&& apt-get clean
EXPOSE 80
EXPOSE 443
STOPSIGNAL SIGTERM
CMD ["nginx", "-g", "daemon off;"]
Content type
Image
Digest
Size
102.7 MB
Last updated
almost 5 years ago
docker pull huakunshen/nginx-certbot