Spaces:
Running
Running
Update Dockerfile
Browse files- 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
|
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=
|
|
|
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"]
|