diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-02-22 17:07:12 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-02-22 17:07:12 +0100 |
commit | 0242504a0eecb3543f47d6d6c4ef3e38ee322534 (patch) | |
tree | 3099a836891396fc5b3e1ed532e86778de2b13c7 /Dockerfile | |
parent | e3603be3dce9faa55c3d0785563b22b19adaf651 (diff) | |
download | cgi-dev.zip |
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 15f1596..0000000 --- a/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -FROM nginx:alpine - -RUN apk add git-daemon cgit certbot certbot-nginx fcgiwrap apache2-utils gcc musl-dev -RUN adduser -D -h /srv/git git - -WORKDIR /usr/build/ -COPY bootstrap.sh . -COPY main.c . -COPY static ./static - -RUN DEBIAN_FRONTEND=noninteractive sh bootstrap.sh - -RUN printf "\ - git daemon --reuseaddr --base-path=/srv/git/ /srv/git/ &\n\ - fcgiwrap -f &\n\ - nginx &\n\ - wait -n\n\ - exit $?\ -" >> /usr/local/bin/entrypoint - -# ssh, http, https, git -EXPOSE 22 80 443 9418 - -ENTRYPOINT [ "entrypoint" ] |