mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
remove nginx config from dockerfile
This commit is contained in:
parent
be1df860ec
commit
856db62414
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue