mirror of
https://github.com/hanxi/xiaomusic.git
synced 2025-12-06 14:52:50 +08:00
* Update Dockerfile change debian to alpine linux, reduce the image size by 50% * Update Dockerfile.builder change debian to alpine linux, reduce the image size by 50% * Update Dockerfile.runtime change debian to alpine linux, reduce the image size by 50%
11 lines
262 B
Ruby
11 lines
262 B
Ruby
FROM python:3.10.18-alpine3.22
|
|
RUN pip install -U pdm
|
|
ENV PDM_CHECK_UPDATE=false
|
|
WORKDIR /app
|
|
COPY pyproject.toml README.md .
|
|
COPY xiaomusic/ ./xiaomusic/
|
|
COPY plugins/ ./plugins/
|
|
COPY holiday/ ./holiday/
|
|
COPY xiaomusic.py .
|
|
RUN pdm install --prod --no-editable
|