chore: 更新Dockerfile添加镜像更新脚本并运行
All checks were successful
Build Server / Compile DLL (push) Successful in 10m13s

- 更新Dockerfile以添加镜像更新脚本并运行以确保获取最新的镜像。
This commit is contained in:
2025-07-19 15:40:32 +08:00
parent 95b658527a
commit d1c5760329

View File

@@ -8,6 +8,10 @@ FROM greyltc/archlinux-aur:yay AS runner
WORKDIR /app
COPY . .
COPY --from=lib /src/wcocr/build/libwcocr.so .
# update mirrorlist
ADD https://raw.githubusercontent.com/greyltc/docker-archlinux/master/get-new-mirrors.sh /usr/bin/get-new-mirrors
RUN chmod +x /usr/bin/get-new-mirrors && \
get-new-mirrors
RUN aur-install bun-bin wechat-bin && \
bun install --frozen-lockfile