#!/bin/bash # Set work directory from environment variable, default to /home/sandbox WORKDIR="${FASTGPT_WORKDIR:-/home/sandbox}" mkdir -p "${WORKDIR}" # Start code-server # --bind-addr 0.0.0.0:8080 allows access from outside the container # --auth none removes password protection exec code-server \ --bind-addr 0.0.0.0:8080 \ --auth none \ --disable-telemetry \ --disable-update-check \ --disable-workspace-trust \ --disable-getting-started-override \ --app-name "Skills" \ --user-data-dir /home/sandbox/.local/share/code-server \ "${WORKDIR}"