新增: df-relay Dockerfile + .dockerignore(云端部署基建)

docker build -f crates/df-relay/Dockerfile -t df-relay .(context=repo根,multi-stage rust:slim 编译→debian 运行)。容器内 :8080(DF_RELAY_ADDR),宿主映射 :9180 避开测试机 8080 占用。
This commit is contained in:
2026-06-22 03:50:37 +08:00
parent f4b65f6c2e
commit 0c7c5e6068
2 changed files with 32 additions and 0 deletions

11
.dockerignore Normal file
View File

@@ -0,0 +1,11 @@
# docker build 排除(docker context = repo 根,仅 df-relay 编译需 workspace 源码)
target
node_modules
dist
dist-ssr
.git
*.db
*.log
apps/df-miniapp/node_modules
apps/df-miniapp/dist
src-tauri/target