Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends pkg-config && r
COPY Cargo.toml Cargo.lock ./
COPY crates/ crates/
COPY migrations/ migrations/
# docs_corpus.rs 用 include_str! 把产品内文档编进二进制,所以它是后端的源码依赖,
# 不只是前端资源——漏掉这行,cargo build 直接报 couldn't read。
COPY web/src/docs/ web/src/docs/
RUN cargo build --release -p utopia-server

# ---- 运行 ----
Expand Down
Loading