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:
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user