TomatoFull commited on
Commit
dc06083
·
verified ·
1 Parent(s): 75d96bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -11,8 +11,7 @@ RUN mkdir -p /app && chown -R ubuntu:ubuntu /app
11
  RUN wget -c -t 0 --no-check-certificate -O /app/XFCE_64bit.7z "https://sourceforge.net/projects/osboxes/files/v/vb/4-Ar---c-x/20240601/XFCE/64bit.7z/download"
12
 
13
  RUN apt-get install -y mktorrent && \
14
- mktorrent -a udp://tracker.opentrackr.org:1337/announce -o /app/XFCE_64bit.7z.torrent /app/XFCE_64bit.7z
15
-
16
  RUN chmod -R 777 /app
17
 
18
  COPY <<EOF /app/server.py
@@ -31,4 +30,4 @@ if __name__ == "__main__":
31
  app.run(host="0.0.0.0", port=7860)
32
  EOF
33
 
34
- CMD ["sh", "-c", "python3 /app/server.py & aria2c --enable-dht=false --allow-overwrite=true --seed-ratio=0.0 /app/XFCE_64bit.7z.torrent"]
 
11
  RUN wget -c -t 0 --no-check-certificate -O /app/XFCE_64bit.7z "https://sourceforge.net/projects/osboxes/files/v/vb/4-Ar---c-x/20240601/XFCE/64bit.7z/download"
12
 
13
  RUN apt-get install -y mktorrent && \
14
+ mktorrent -a https://tracker.yemekyedim.com:443/announce /app/XFCE_64bit.7z
 
15
  RUN chmod -R 777 /app
16
 
17
  COPY <<EOF /app/server.py
 
30
  app.run(host="0.0.0.0", port=7860)
31
  EOF
32
 
33
+ CMD ["sh", "-c", "python3 /app/server.py & aria2c --bt-seed-until=0 --seed-time=0 --enable-dht=true --listen-port=6881 --dir=/app --follow-torrent=true https://tracker.yemekyedim.com:443/announce --torrent-file=/app/XFCE_64bit.7z.torrent"]