Files
AppleMusicDecrypt/Dockerfile
2025-08-07 23:56:01 +08:00

18 lines
336 B
Docker

FROM python:3.12
RUN apt-get update && \
apt-get install -y bash curl && \
rm -rf /var/lib/apt/lists/*
RUN curl -sSL https://install.python-poetry.org | python3 -
WORKDIR /app
COPY . /app
ENV PATH="/root/.local/bin:$PATH"
RUN bash ./tools/install-deps.sh && \
poetry install
CMD ["poetry", "run", "python", "main.py"]