test / entrypoint.sh
aertit's picture
Create entrypoint.sh
b728206
#!/bin/bash
PASSWORD="${PASSWORD:=huggingface}"
echo "Starting Jupyter Lab with token $PASSWORD"
jupyter lab \
--ip=0.0.0.0 \
--port=7860 \
--no-browser \
--allow-root \
--NotebookApp.token=$PASSWORD \
--NotebookApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
--NotebookApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
--NotebookApp.disable_check_xsrf=True