fix: Dockerfile gojieba dict path
This commit is contained in:
@@ -39,7 +39,7 @@ COPY --from=builder /build/templates/ ./templates/
|
|||||||
COPY --from=builder /build/config.yaml.example ./config.yaml.example
|
COPY --from=builder /build/config.yaml.example ./config.yaml.example
|
||||||
|
|
||||||
# gojieba 词典文件
|
# 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"]
|
VOLUME ["/app/data"]
|
||||||
|
|||||||
Reference in New Issue
Block a user