seafile-containerized/seafile-caddy/Dockerfile
2023-10-23 20:00:57 +02:00

16 lines
289 B
Docker

FROM caddy:2.7.5-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"]