mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
download-as-tar-gz becomes 2.4x faster in docker segfaults on windows, so don't use it there does not affect fedora or gentoo, since zlib-ng is already system-default on those also adds a global-option to write list of successful binds to a textfile, for automation / smoketest purposes
19 lines
713 B
Docker
19 lines
713 B
Docker
FROM alpine:latest
|
|
WORKDIR /z
|
|
LABEL org.opencontainers.image.url="https://github.com/9001/copyparty" \
|
|
org.opencontainers.image.source="https://github.com/9001/copyparty/tree/hovudstraum/scripts/docker" \
|
|
org.opencontainers.image.licenses="MIT" \
|
|
org.opencontainers.image.title="copyparty-min" \
|
|
org.opencontainers.image.description="just copyparty, no thumbnails / media tags / audio transcoding"
|
|
ENV XDG_CONFIG_HOME=/cfg
|
|
|
|
RUN apk --no-cache add !pyc \
|
|
py3-jinja2
|
|
|
|
COPY i/dist/copyparty-sfx.py innvikler.sh ./
|
|
RUN ash innvikler.sh min
|
|
|
|
WORKDIR /w
|
|
EXPOSE 3923
|
|
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "--no-thumb", "-c", "/z/initcfg"]
|