mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 02:39:26 +00:00
fix dockerfile
This commit is contained in:
parent
da66b6b5f5
commit
f3e0176f61
3 changed files with 4 additions and 3 deletions
|
@ -35,7 +35,7 @@ RUN pip3 install --timeout=3600 Pillow pylibmc captcha jinja2 \
|
||||||
sqlalchemy django-pylibmc django-simple-captcha && \
|
sqlalchemy django-pylibmc django-simple-captcha && \
|
||||||
rm -r /root/.cache/pip
|
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
|
rm -r /root/.cache/pip
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,4 +68,4 @@ RUN mkdir -p /opt/seafile/ && cd /opt/seafile/ && \
|
||||||
EXPOSE 80
|
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
|
#coding: UTF-8
|
||||||
|
|
||||||
'''This script would guide the seafile admin to setup seafile with MySQL'''
|
'''This script would guide the seafile admin to setup seafile with MySQL'''
|
||||||
|
|
|
@ -30,7 +30,7 @@ def watch_controller():
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
call('/scripts/create_data_links.sh')
|
call('/scripts/create_data_links.sh')
|
||||||
check_upgrade()
|
# check_upgrade()
|
||||||
os.chdir(installdir)
|
os.chdir(installdir)
|
||||||
call('service nginx start &')
|
call('service nginx start &')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue