dockerfiles

[ACTIVE] various dockerfiles for projects that don't have them
git clone git://git.figbert.com/dockerfiles.git
Log | Files | Refs | README | LICENSE

commit d20a70b96feb7a196ba543808146ba61cab539a4
parent 848d2a449f6bcbd5086743efc546cd4b14d0ade9
Author: FIGBERT <figbert@figbert.com>
Date:   Tue, 31 May 2022 23:14:50 -0700

Use EXPOSE consistently

Diffstat:
Mcrabmail | 1+
Mstagit | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/crabmail b/crabmail @@ -6,6 +6,7 @@ RUN apk --no-cache add git && \ FROM nginx:alpine COPY --from=builder /crabmail/target/release/crabmail /usr/bin/ RUN apk --no-cache add isync && mkdir -p /mail/lists +EXPOSE 80 ENTRYPOINT mbsync -c /mail/mbsyncrc --all && \ crabmail /mail/lists -c /mail/crabmail.conf -d /usr/share/nginx/html/ && \ /docker-entrypoint.sh nginx -g 'daemon off;' diff --git a/stagit b/stagit @@ -1,5 +1,6 @@ FROM nginx:alpine RUN apk --no-cache add -X https://dl-cdn.alpinelinux.org/alpine/edge/testing stagit +EXPOSE 80 ENTRYPOINT stagit-index /git/*/ > /usr/share/nginx/html/index.html && \ for dir in /git/*/; do \ r=$(basename "${dir}"); \