FROM alpine:3.20 AS base

RUN apk add --no-cache \
    python3 



RUN mkdir services
RUN python3 -m venv services/aniworlddownloader_venv && \
    services/aniworlddownloader_venv/bin/pip install --no-cache-dir aniworld

WORKDIR /
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["sh", "/entrypoint.sh"]
