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,10 +5,12 @@ LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="copyparty-im" \
org.opencontainers.image.description="copyparty with Pillow and Mutagen (image thumbnails, media tags)"
ENV PYTHONPYCACHEPREFIX=/tmp/pyc
RUN apk --no-cache add \
RUN apk --no-cache add !pyc \
wget \
py3-pillow py3-mutagen \
&& rm -rf /tmp/pyc \
&& mkdir /cfg /w \
&& chmod 777 /cfg /w \
&& echo % /cfg > initcfg