add chdir option

This commit is contained in:
ed
2025-08-28 20:14:25 +00:00
parent d1f75229b5
commit 14555d5832
8 changed files with 17 additions and 7 deletions

View File

@@ -18,4 +18,4 @@ RUN ash innvikler.sh ac
WORKDIR /state
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]

View File

@@ -40,4 +40,4 @@ RUN ash innvikler.sh dj
WORKDIR /state
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]

View File

@@ -17,4 +17,4 @@ RUN ash innvikler.sh im
WORKDIR /state
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]

View File

@@ -30,4 +30,4 @@ RUN ash innvikler.sh iv
WORKDIR /state
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "-c", "/z/initcfg"]
ENTRYPOINT ["python3", "-m", "copyparty", "-c", "/z/initcfg"]

View File

@@ -15,4 +15,4 @@ RUN ash innvikler.sh min
WORKDIR /state
EXPOSE 3923
ENTRYPOINT ["python3", "-m", "copyparty", "--no-crt", "--no-thumb", "-c", "/z/initcfg"]
ENTRYPOINT ["python3", "-m", "copyparty", "--no-thumb", "-c", "/z/initcfg"]

View File

@@ -17,7 +17,13 @@ rm -rf /var/cache/apk/* /root/.cache
# initial config; common for all flavors
mkdir /state /cfg /w
chmod 777 /state /cfg /w
echo % /cfg > initcfg
cat >initcfg <<'EOF'
[global]
chdir: /w
no-crt
% /cfg
EOF
# unpack sfx and dive in
python3 copyparty-sfx.py --version