summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorYour Name <you@example.com>2025-12-29 20:01:17 +0800
committerYour Name <you@example.com>2025-12-29 20:01:17 +0800
commit7bd52ea1ae10870cc2ff8aa5c237679c30ffda72 (patch)
treeaf72b9290a5e0cb7d2ae43752fb4ea3dba55bc1c /Dockerfile
parent745ca5a613d3dbac8143a62e4a90e9833422e023 (diff)
ssh keyfiles supportHEADmain
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"]