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
+3 -1
View File
@@ -5,9 +5,11 @@ LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.title="copyparty-min" \
org.opencontainers.image.description="just copyparty, no thumbnails / media tags / audio transcoding"
ENV PYTHONPYCACHEPREFIX=/tmp/pyc
RUN apk --no-cache add \
RUN apk --no-cache add !pyc \
python3 \
&& rm -rf /tmp/pyc \
&& mkdir /cfg /w \
&& chmod 777 /cfg /w \
&& echo % /cfg > initcfg