diff --git a/Aptfile b/Aptfile new file mode 100644 index 0000000..3191631 --- /dev/null +++ b/Aptfile @@ -0,0 +1,2 @@ +mediainfo +ffmpeg diff --git a/Dockerfile b/Dockerfile index 85dc760..22b4232 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,4 @@ WORKDIR /app COPY . /app RUN apt -qq update && apt -qq install -y git wget ffmpeg mediainfo RUN pip install -r requirements.txt -CMD ["python", "main.py"] +CMD ["bash", "cloud.sh"] diff --git a/Procfile b/Procfile index 469ae06..ad9aac5 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python3 main.py +web: bash cloud.sh diff --git a/cloud.sh b/cloud.sh new file mode 100644 index 0000000..71e5f16 --- /dev/null +++ b/cloud.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +echo """ + _ ____ ____ _ +/ \__/|/ _ \/ _ \/ \ /| +| |\/||| / \|| / \|| |\ || +| | ||| \_/|| \_/|| | \|| +\_/ \|\____/\____/\_/ \| + +Copyright (C) 2020-2023 by MoonTg-project@Github, < https://github.com/The-MoonTg-project >. +This file is part of < https://github.com/The-MoonTg-project/Moon-Userbot > project, +and is released under the "GNU v3.0 License Agreement". +Please see < https://github.com/The-MoonTg-project/Moon-Userbot/blob/main/LICENSE > +All rights reserved. +""" + +gunicorn app:app --daemon && python main.py \ No newline at end of file