Files
wechat-ocr-server/Dockerfile
imbytecat 3f5727e1b0
All checks were successful
Build Server / Compile DLL (push) Successful in 3m38s
chore: 更新基础镜像为yay并调整安装工具
- 将基础镜像从paru修改为yay,并改变软件包安装工具为aur-install。
2025-07-08 00:38:47 +08:00

19 lines
561 B
Docker

# FROM greyltc/archlinux-aur:yay AS lib
# WORKDIR /src
# RUN yay -Syu --noconfirm cmake python nodejs && \
# git clone https://github.com/swigger/wechat-ocr.git wcocr && \
# sed -i 's/v3.21.0/v3.21.2/g' wcocr/CMakeLists.txt && \
# mkdir -p wcocr/build && cd wcocr/build && cmake .. && make -j$(nproc)
FROM greyltc/archlinux-aur:yay
WORKDIR /app
RUN aur-install bun-bin wechat-bin && \
echo "Hello World"
# COPY --from=lib /src/wcocr/build/libwcocr.so .
# COPY src/index.ts .
# RUN bun install hono
# EXPOSE 3000
# CMD ["bun", "src/index.ts"]