opencode / Dockerfile

Commit History

  1. fix: 为 Z.ai 配置正确 baseURL,避免走 Anthropic 的 URL⁠

    907f999

  1. fix: 移除 Dockerfile 明文 OPENCODE_SERVER_PASSWORD,改用 HF Secrets 注入⁠

    tao-shen +1: Cursor
    9777c57
  2. feat: 启用 opencode server basic auth(密码 6)⁠

    tao-shen +1: Cursor
    bb172fb
  3. feat: Dataset 改为有改动即同步(inotify);支持 XDG_DATA_HOME 直接接外部存储⁠

    tao-shen +1: Cursor
    7472e7a
  4. feat: 使用 HF Dataset 做持久化(spaces-storage#dataset-storage)⁠

    tao-shen +1: Cursor
    4f54dc8
  5. fix: 彻底移除 /data 与 XDG 相关逻辑,恢复默认数据目录以修复发消息失败⁠

    tao-shen +1: Cursor
    6cd5d65
  6. fix: 恢复直接 CMD 启动并按 HF 文档写持久化说明⁠

    tao-shen +1: Cursor
    f9a107c
  7. Update Dockerfile to support persistent storage configuration for OpenCode, allowing data retention when the /data directory is writable. Enhance README.md with details on current storage limitations and alternative solutions for data persistence on Hugging Face Spaces.

    32d5f26
  8. Enhance Dockerfile to allow CORS for specified origins in OpenCode server, enabling cross-origin requests from Vercel deployed clients.

    0f7da25
  9. Fix Dockerfile to ensure HOME environment variable is correctly set during OpenCode installation, preventing installation to the root directory. This change enhances compatibility with the user environment.

    cb79e6d
  10. Update Dockerfile to use absolute paths for opencode commands, ensuring compatibility with USER 1000 environment. This change addresses potential PATH issues when executing commands.

    abc9b60
  11. Refactor Dockerfile to install OpenCode as root and set ownership to UID 1000 for compatibility with Hugging Face Spaces. Removed user creation and adjusted installation steps accordingly.

    2fcbec9
  12. Update README.md with detailed usage instructions and configuration options for OpenCode on Hugging Face Spaces

    0216330