remove nginx config from dockerfile

This commit is contained in:
Gerrit Gogel 2021-01-19 13:06:17 +01:00
parent be1df860ec
commit 856db62414

View file

@ -21,19 +21,12 @@ future mysqlclient \
# Scripts # Scripts
COPY scripts /scripts COPY scripts /scripts
COPY templates /templates
COPY services /services
RUN chmod u+x /scripts/* RUN chmod u+x /scripts/*
RUN mkdir -p /etc/my_init.d && \ RUN mkdir -p /etc/my_init.d && \
rm -f /etc/my_init.d/* && \ rm -f /etc/my_init.d/* && \
cp /scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh cp /scripts/create_data_links.sh /etc/my_init.d/01_create_data_links.sh
RUN mkdir -p /etc/service/nginx && \
rm -f /etc/nginx/sites-enabled/* /etc/nginx/conf.d/* && \
mv /services/nginx.conf /etc/nginx/nginx.conf && \
mv /services/nginx.sh /etc/service/nginx/run
# Seafile # Seafile
WORKDIR /opt/seafile WORKDIR /opt/seafile