summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 35208e9..86352b4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,14 +7,16 @@ RUN apk add --no-cache \
7 fcgiwrap \ 7 fcgiwrap \
8 spawn-fcgi \ 8 spawn-fcgi \
9 gettext \ 9 gettext \
10 openssl 10 openssl \
11 openssh-server
11 12
12COPY cgitrc.template /etc/cgitrc.template 13COPY cgitrc.template /etc/cgitrc.template
13COPY Caddyfile /etc/caddy/Caddyfile 14COPY Caddyfile /etc/caddy/Caddyfile
15COPY sshd_config /etc/ssh/sshd_config
14COPY entrypoint.sh /entrypoint.sh 16COPY entrypoint.sh /entrypoint.sh
15RUN chmod +x /entrypoint.sh 17RUN chmod +x /entrypoint.sh
16 18
17# 80 required for Let's Encrypt HTTP-01 challenge, 443 for HTTPS 19# 80 required for Let's Encrypt HTTP-01 challenge, 443 for HTTPS, 22 for git SSH
18EXPOSE 80 443 20EXPOSE 80 443 22
19 21
20ENTRYPOINT ["/entrypoint.sh"] 22ENTRYPOINT ["/entrypoint.sh"]