test
This commit is contained in:
@@ -29,8 +29,13 @@ FROM openjdk:8-jre-alpine AS runtime
|
||||
# 设置维护者信息
|
||||
LABEL maintainer="digital-archive-team"
|
||||
|
||||
# 安装必要的系统依赖和Tesseract OCR
|
||||
RUN apk add --no-cache \
|
||||
# 添加Alpine国内镜像源
|
||||
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories && \
|
||||
sed -i 's/https\:\/\/dl-cdn.alpinelinux.org/https:\/\/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
|
||||
# 更新包索引并安装必要的系统依赖和Tesseract OCR
|
||||
RUN apk update && \
|
||||
apk add --no-cache \
|
||||
tesseract \
|
||||
tesseract-data-chi_sim \
|
||||
tesseract-data-chi_tra \
|
||||
|
||||
Reference in New Issue
Block a user