Skip to content
Snippets Groups Projects
Select Git revision
  • master default
1 result

Dockerfile

Blame
  • Dockerfile 648 B
    FROM k8r.eu/justjanne/seafile:server
    
    RUN curl -sL https://deb.nodesource.com/setup_16.x | bash -
    RUN apt-get install -y nodejs
    
    WORKDIR /source
    RUN git clone --single-branch --branch=feat/postgres-support-backported https://github.com/justjanne/seahub.git
    
    WORKDIR /source/seahub/frontend
    RUN npm install --force
    RUN npm run build
    
    COPY entrypoint.sh /entrypoint.sh
    WORKDIR /source/seahub
    
    ENV PYTHONPATH="/usr/local/lib/python3.10/site-packages/:/source/seahub/thirdpart:$PYTHONPATH"
    ENV CCNET_CONF_DIR="/conf"
    ENV SEAFILE_CONF_DIR="/tmp"
    ENV SEAFILE_CENTRAL_CONF_DIR="/conf"
    
    VOLUME /conf
    VOLUME /data
    VOLUME /tmp
    
    ENTRYPOINT ["/entrypoint.sh"]