From c9925643a2f90a29928b07f55fc85dcbd00638dc Mon Sep 17 00:00:00 2001 From: VAMSI REDDY <118047800+Python-Coder-xD@users.noreply.github.com> Date: Tue, 26 Sep 2023 01:01:04 +0530 Subject: [PATCH 1/3] Update app.json --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 93954b9c0..463fd6931 100644 --- a/app.json +++ b/app.json @@ -75,7 +75,7 @@ "formation": { "worker": { "quantity": 1, - "size": "free" + "size": "eco" } } } From 5318c847309292f453b0fa0697473f8c289456cf Mon Sep 17 00:00:00 2001 From: VAMSI REDDY <118047800+Python-Coder-xD@users.noreply.github.com> Date: Tue, 26 Sep 2023 01:04:55 +0530 Subject: [PATCH 2/3] Update Procfile --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index ab94349c4..d80f8e789 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python3 bot.py \ No newline at end of file +worker: python3 bot.py From 81bae00dab4f9f3ab641f3482372eb135f880508 Mon Sep 17 00:00:00 2001 From: VAMSI REDDY <118047800+Python-Coder-xD@users.noreply.github.com> Date: Tue, 26 Sep 2023 01:05:45 +0530 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a82830b2..e7037042d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,5 +8,6 @@ RUN cd / RUN pip3 install -U pip && pip3 install -U -r requirements.txt RUN mkdir /LazyPrincess WORKDIR /LazyPrincess -COPY start.sh /start.sh -CMD ["/bin/bash", "/start.sh"] + +COPY . . +CMD python3 bot.py