TheHamkerCat 5 years ago
parent
commit
3ef28bf059
4 changed files with 17 additions and 7 deletions
  1. 7 0
      Aptfile
  2. 9 1
      app.json
  3. 0 5
      heroku.yml
  4. 1 1
      runtime.txt

+ 7 - 0
Aptfile

@@ -0,0 +1,7 @@
+bash
+ffmpeg
+sudo
+neofetch
+wget
+curl
+git

+ 9 - 1
app.json

@@ -11,7 +11,15 @@
     "telegram-bot",
     "pyrogram"
     ],
-    "stack": "container",
+    "stack": "heroku-20",
+    "buildpacks": [
+      {
+        "url": "heroku/python"
+      },
+      {
+        "url": "heroku-community/apt"
+      }
+    ],
     "env": {
         "BOT_TOKEN": {
             "description": "Obtain a Telegram bot token by contacting @BotFather",

+ 0 - 5
heroku.yml

@@ -1,5 +0,0 @@
-build:
-  docker:
-    worker: Dockerfile
-run:
-   worker: python3 -m wbb

+ 1 - 1
runtime.txt

@@ -1 +1 @@
-python-3.9.0
+python-3.9.4