mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Use venv for base hub environment
- TLJH should support raspberry pi, which runs ARM. conda does not support ARM. - Get nodejs from nodesource instead of conda or default repositories. Default repositories get out of date pretty quickly. - Install CHP from npm
This commit is contained in:
@@ -15,9 +15,7 @@ PrivateDevices=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectKernelModules=yes
|
||||
EnvironmentFile={install_prefix}/state/configurable-http-proxy.secret
|
||||
# Set PATH so env can find correct node
|
||||
Environment=PATH=$PATH:{install_prefix}/hub/bin
|
||||
ExecStart={install_prefix}/hub/bin/configurable-http-proxy \
|
||||
ExecStart={install_prefix}/hub/node_modules/.bin/configurable-http-proxy \
|
||||
--ip 0.0.0.0 \
|
||||
--port 80 \
|
||||
--api-ip 127.0.0.1 \
|
||||
|
||||
Reference in New Issue
Block a user