mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
13 lines
319 B
Docker
13 lines
319 B
Docker
FROM alpine:latest
|
|
WORKDIR /z
|
|
|
|
RUN apk --no-cache add python3 py3-pip \
|
|
&& python3 -m pip install copyparty \
|
|
&& apk del py3-pip \
|
|
&& mkdir /cfg /w \
|
|
&& chmod 777 /cfg /w \
|
|
&& echo % /cfg > initcfg
|
|
|
|
WORKDIR /w
|
|
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]
|