seafile-containerized/image/seafile/Dockerfile
Shuai Lin 2c5dace56e Support https with letsencrypt.
TODO: add a cron job to renew the certs
2016-11-15 12:11:58 +08:00

15 lines
424 B
Docker

FROM seafileorg/base:16.04
WORKDIR /opt/seafile
ENV SEAFILE_VERSION=6.0.5
RUN mkdir -p /opt/seafile/ && \
curl -sSL -o - https://bintray.com/artifact/download/seafile-org/seafile/seafile-server_6.0.5_x86-64.tar.gz \
| tar xzf - -C /opt/seafile/
RUN mkdir -p /etc/my_init.d
ADD create_data_links.sh /etc/my_init.d/create_data_links.sh
RUN mkdir -p /templates/
ADD seafile.nginx.conf /templates/seafile.nginx.conf