mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
fix dockerfile
This commit is contained in:
parent
da66b6b5f5
commit
f3e0176f61
|
@ -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"]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python3
|
||||
#coding: UTF-8
|
||||
|
||||
'''This script would guide the seafile admin to setup seafile with MySQL'''
|
||||
|
|
|
@ -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 &')
|
||||
|
||||
|
|
Loading…
Reference in a new issue