# Start JupyterLab in the background | |
jupyter lab --ip=0.0.0.0 --port=${JUPYTERLAB_PORT} --no-browser --allow-root --NotebookApp.base_url=/jupyter & | |
# Ensure the Nginx PID file is writable | |
touch /tmp/nginx.pid | |
chmod 644 /tmp/nginx.pid | |
# Start Nginx in the foreground | |
nginx -g "daemon off;" -c /etc/nginx/nginx.conf |