fix: set workdir and code-server root to /root for persistent home
This commit is contained in:
@@ -16,6 +16,10 @@ fi
|
||||
# Start code-server
|
||||
exec code-server \
|
||||
--bind-addr 0.0.0.0:8080 \
|
||||
--auth password \
|
||||
--auth oauth \
|
||||
--oauth-provider=gitea \
|
||||
--oauth-client-id="${GITEA_CLIENT_ID}" \
|
||||
--oauth-client-secret="${GITEA_CLIENT_SECRET}" \
|
||||
--oauth-scopes="read:user" \
|
||||
--disable-telemetry \
|
||||
/workspace
|
||||
/root
|
||||
|
||||
Reference in New Issue
Block a user