Skip to content

Commit

Permalink
stable
Browse files Browse the repository at this point in the history
  • Loading branch information
besoeasy committed Aug 1, 2024
1 parent 699905c commit 4efffff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ EXPOSE 6799 6800 6881-6888
# Set environment variables (you can override these at runtime)
ENV TELEGRAMBOT=Telegram-Bot-Token

# Copy the startup script and give it execution permissions
COPY start.sh /start.sh
RUN chmod +x /start.sh
# start ari2c daemon
RUN aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all=true --rpc-listen-port=6800 --max-concurrent-downloads=5 --max-connection-per-server=5 --min-split-size=10M --follow-torrent=true --split=5 --daemon=true

# Start the script
CMD ["/start.sh"]
# Start the application
CMD ["npm", "start"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "TeleAria is a powerful download manager that seamlessly integrates Aria2's robust downloading capabilities with the convenience of Telegram control. Whether you need to download files, torrents, or videos, TeleAria can handle it all with ease. ",
"main": "index.js",
"scripts": {
"test": "node index.js"
"start": "node index.js"
},
"bin": {
"telearia": "./index.js"
Expand Down
7 changes: 0 additions & 7 deletions start.sh

This file was deleted.

0 comments on commit 4efffff

Please sign in to comment.