seafile-containerized/seafile-caddy/Dockerfile

16 lines
289 B
Docker
Raw Normal View History

2023-12-08 22:57:47 +00:00
FROM caddy:2.7.6-alpine
2021-01-18 23:31:17 +00:00
2021-01-24 23:20:17 +00:00
RUN apk add --no-cache \
bash \
bind-tools
2021-01-24 23:54:34 +00:00
COPY Caddyfile /etc/caddy/Caddyfile
COPY scripts /scripts
2021-01-25 00:49:00 +00:00
RUN chmod u+x /scripts/*
2021-01-24 23:54:34 +00:00
ENV SEAFILE_SERVER_HOSTNAME=seafile-server
ENV SEAHUB_HOSTNAME=seahub
ENV SEAHUB_MEDIA_HOSTNAME=seahub-media
CMD ["/scripts/start.sh"]