1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-15 08:13:16 +08:00

feature: Migrate debian to alpine linux (#489)

* 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%
This commit is contained in:
Moruy
2025-06-09 12:32:30 +08:00
committed by GitHub
parent c72b19ffc0
commit 5f944b8c5c
3 changed files with 9 additions and 13 deletions

View File

@@ -1,12 +1,11 @@
FROM python:3.10-slim
ENV DEBIAN_FRONTEND=noninteractive
FROM python:3.10.18-alpine3.22
RUN apt-get update && apt-get install -y \
RUN apk add --no-cache bash\
wget \
xz-utils \
libtiff6 \
libopenjp2-7 \
libxcb1 \
xz \
tiff \
openjpeg \
libxcb \
supervisor \
vim \
&& rm -rf /var/lib/apt/lists/*