aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8c5833a
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,16 @@
+FROM docker.io/alpine:3.17
+
+RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.17/main" > /etc/apk/repositories
+RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.17/community" >> /etc/apk/repositories
+
+RUN apk update
+RUN apk add nginx
+RUN apk add age signify acme.sh
+
+RUN mkdir -p /var/acme /var/www/acme
+
+COPY setup.sh /setup.sh
+COPY entrypoint.sh /
+COPY renewal.sh /
+
+ENTRYPOINT /entrypoint.sh