docker: use jupiter notebook
This commit is contained in:
parent
949ddda649
commit
cae8d8356b
|
@ -38,6 +38,7 @@ RUN chown -R apiserver:apiserver /local-llm-server && \
|
||||||
chown -R apiserver:apiserver /var/log/app/
|
chown -R apiserver:apiserver /var/log/app/
|
||||||
RUN git config --global --add safe.directory /local-llm-server
|
RUN git config --global --add safe.directory /local-llm-server
|
||||||
|
|
||||||
|
RUN chmod +x /app/init.sh
|
||||||
RUN chmod +x /app/start.sh
|
RUN chmod +x /app/start.sh
|
||||||
|
|
||||||
ENV SHELL="/bin/bash"
|
ENV SHELL="/bin/bash"
|
||||||
|
|
|
@ -30,7 +30,7 @@ user=apiserver
|
||||||
environment=HOME="/home/apiserver",USER="apiserver"
|
environment=HOME="/home/apiserver",USER="apiserver"
|
||||||
|
|
||||||
[program:jupyter]
|
[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"
|
environment=SHELL="/bin/bash"
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
|
|
Reference in New Issue