mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-26 09:05:46 +00:00
- rename workspace package `@moonshot-ai/daemon` to `@moonshot-ai/server`\n- rename `@moonshot-ai/daemon-e2e` to `@moonshot-ai/server-e2e`\n- replace `kimi daemon` and `kimi web` with `kimi server run`\n- keep `kimi web` as alias for `kimi server run --open`\n- add `kimi server install/uninstall/start/stop/restart/status`\n for launchd (darwin), systemd (linux), and schtasks (win32)\n- update dev scripts, kimi-web stub, documentation, and service naming checks\n\nBREAKING CHANGE: the `kimi daemon` command and `@moonshot-ai/daemon`\npackage are removed; use `kimi server` and `@moonshot-ai/server`.
27 lines
996 B
Docker
27 lines
996 B
Docker
# syntax=docker/dockerfile:1.7
|
|
#
|
|
# server-e2e docker-run image.
|
|
#
|
|
# This image layers server-e2e defaults on top of the repository server dev
|
|
# image. Source code and node_modules are still provided by bind mounts from
|
|
# scripts/run-docker-e2e.sh, so host edits are picked up without rebuilding.
|
|
#
|
|
# The launcher intentionally does not pass -p/--publish to docker run. The
|
|
# server binds inside the container only, so this workflow can run alongside the
|
|
# docker-compose.yml server that publishes host port 7878.
|
|
|
|
ARG BASE_IMAGE=kimi-server:dev
|
|
FROM ${BASE_IMAGE}
|
|
|
|
ENV KIMI_CODE_HOME=/data/docker-e2e/kimi-code-home \
|
|
KIMI_SERVER_URL=http://127.0.0.1:7878 \
|
|
KIMI_SERVER_E2E_REPORT_DIR=/data/server-e2e-reports/docker/latest \
|
|
TMPDIR=/data/docker-e2e/tmp \
|
|
TERM=xterm-256color \
|
|
TZ=Asia/Shanghai \
|
|
npm_config_store_dir=/workspace/kimi-code/node_modules/.pnpm-store \
|
|
npm_config_package_import_method=copy
|
|
|
|
WORKDIR /workspace/kimi-code/packages/server-e2e
|
|
|
|
CMD ["bash"]
|