create docker image for acme-certbot

This commit is contained in:
2020-05-26 08:14:22 -04:00
parent 9e1743e1b5
commit 10b5a1e012
11 changed files with 96 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
FROM ubuntu:focal
MAINTAINER Richard Morgan <r_morgan@sympatico.ca>
WORKDIR /opt/project
EXPOSE 80
RUN apt-get update && apt-get install -y software-properties-common \
&& add-apt-repository universe && apt-get update && apt-get install -y \
certbot \
\
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
ENV TERM=xterm
ENTRYPOINT ["/usr/bin/certbot"]