upgrade docker to alpine 3.18:

* enables chiptune player
* smaller containers (generate pycache at runtime)
This commit is contained in:
ed
2023-05-11 06:56:21 +00:00
parent c2ed2314c8
commit b985011a00
7 changed files with 25 additions and 11 deletions

View File

@@ -5,11 +5,13 @@ LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="copyparty-ac" \
org.opencontainers.image.description="copyparty with Pillow and FFmpeg (image/audio/video thumbnails, audio transcoding, media tags)"
ENV PYTHONPYCACHEPREFIX=/tmp/pyc
RUN apk --no-cache add \
RUN apk --no-cache add !pyc \
wget \
py3-pillow \
ffmpeg \
&& rm -rf /tmp/pyc \
&& mkdir /cfg /w \
&& chmod 777 /cfg /w \
&& echo % /cfg > initcfg