docker: use jupiter notebook

This commit is contained in:
Cyberes 2023-10-15 15:53:32 -06:00
parent 949ddda649
commit cae8d8356b
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ RUN chown -R apiserver:apiserver /local-llm-server && \
chown -R apiserver:apiserver /var/log/app/
RUN git config --global --add safe.directory /local-llm-server
RUN chmod +x /app/init.sh
RUN chmod +x /app/start.sh
ENV SHELL="/bin/bash"

View File

@ -30,7 +30,7 @@ user=apiserver
environment=HOME="/home/apiserver",USER="apiserver"
[program:jupyter]
command=/jupyterlab/bin/jupyter lab --no-browser --allow-root --ip 0.0.0.0 --port 8888 --LabApp.trust_xheaders=True --LabApp.disable_check_xsrf=False --LabApp.allow_remote_access=True --LabApp.allow_origin='*' --notebook-dir /notebooks
command=/jupyterlab/bin/jupyter notebook --allow-root --ip=0.0.0.0 --no-browser --NotebookApp.trust_xheaders=True --NotebookApp.disable_check_xsrf=False --NotebookApp.allow_remote_access=True --NotebookApp.allow_origin='*' --notebook-dir /notebooks
environment=SHELL="/bin/bash"
autostart=true
autorestart=true