fix: Dockerfile gojieba dict path

This commit is contained in:
2026-02-15 06:45:20 +08:00
parent 0c1a4f06f7
commit 0167b2ffbf

View File

@@ -39,7 +39,7 @@ COPY --from=builder /build/templates/ ./templates/
COPY --from=builder /build/config.yaml.example ./config.yaml.example
# gojieba 词典文件
COPY --from=builder /root/go/pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/dict/ /app/dict/
COPY --from=builder /go/pkg/mod/github.com/yanyiwu/gojieba@v1.3.0/dict/ /app/dict/
# 数据目录
VOLUME ["/app/data"]