Files
wechat-ocr-server/Dockerfile
imbytecat 6860214788
Some checks failed
Build Server / Compile DLL (push) Failing after 31s
replace yay with paru
2025-07-08 00:33:33 +08:00

19 lines
572 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:paru
WORKDIR /app
RUN paru -Syu --noconfirm 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"]