seafile-containerized/seafile-caddy/Dockerfile
2024-06-03 22:01:50 +00:00

16 lines
289 B
Docker

FROM caddy:2.8.4-alpine
RUN apk add --no-cache \
bash \
bind-tools
COPY Caddyfile /etc/caddy/Caddyfile
COPY scripts /scripts
RUN chmod u+x /scripts/*
ENV SEAFILE_SERVER_HOSTNAME=seafile-server
ENV SEAHUB_HOSTNAME=seahub
ENV SEAHUB_MEDIA_HOSTNAME=seahub-media
CMD ["/scripts/start.sh"]