mirror of
https://github.com/9001/copyparty.git
synced 2026-04-02 03:00:05 -04:00
add chdir option
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user