nyanimedb/Dockerfiles/Dockerfile_etl
garaev kamil f983ed1035
All checks were successful
Build and Deploy Go App / build (push) Successful in 11m15s
Build and Deploy Go App / deploy (push) Successful in 1m4s
Dockerfiles added
2025-12-06 08:01:12 +03:00

21 lines
511 B
Text

FROM python:3.12-slim
WORKDIR /app/modules/anime_etl
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY modules/anime_etl/pyproject.toml modules/anime_etl/uv.lock ./
RUN pip install --no-cache-dir uv \
&& uv sync --frozen --no-dev
COPY modules/anime_etl ./
ENV NYANIMEDB_MEDIA_ROOT=/media
# было: CMD ["python", "-m", "rabbit_worker"]
CMD ["uv", "run", "python", "-m", "rabbit_worker"]