fix dockerfile

This commit is contained in:
sniper-py 2020-07-15 15:46:11 +08:00
parent da66b6b5f5
commit f3e0176f61
3 changed files with 4 additions and 3 deletions

View file

@ -35,7 +35,7 @@ RUN pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 \
sqlalchemy django-pylibmc django-simple-captcha && \
rm -r /root/.cache/pip
RUN pip3 install --timeout=3600 boto oss2 pycryptodome twilio python-ldap configparser psd-tools && \
RUN pip3 install --timeout=3600 boto oss2 pycryptodome twilio python-ldap configparser && \
rm -r /root/.cache/pip
@ -68,4 +68,4 @@ RUN mkdir -p /opt/seafile/ && cd /opt/seafile/ && \
EXPOSE 80
CMD ["/sbin/my_init", "--", "/scripts/start.py"]
CMD ["/sbin/my_init", "--", "bash", "-l"]

View file

@ -1,3 +1,4 @@
#!/usr/bin/env python3
#coding: UTF-8
'''This script would guide the seafile admin to setup seafile with MySQL'''

View file

@ -30,7 +30,7 @@ def watch_controller():
def main(args):
call('/scripts/create_data_links.sh')
check_upgrade()
# check_upgrade()
os.chdir(installdir)
call('service nginx start &')