cvsa/Dockerfile.crawler
alikia2x cd8fe502ba
update: Dockerfile for crawler
fix: incorrect condition in logger
2025-05-06 03:24:08 +08:00

19 lines
281 B
Docker

FROM oven/bun:1.2.8-debian
WORKDIR /app
COPY . .
RUN bun i
RUN mkdir -p /app/logs
RUN apt update && apt install -y curl
RUN ln -s /bin/uname /usr/bin/uname
RUN /bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"
WORKDIR packages/crawler
CMD ["bun", "all"]