Add files via upload

This commit is contained in:
Abhi
2024-04-17 08:59:25 +05:30
parent 98e5147b5a
commit 0f72fc1f47
4 changed files with 21 additions and 2 deletions

2
Aptfile Normal file
View File

@@ -0,0 +1,2 @@
mediainfo
ffmpeg

View File

@@ -3,4 +3,4 @@ WORKDIR /app
COPY . /app COPY . /app
RUN apt -qq update && apt -qq install -y git wget ffmpeg mediainfo RUN apt -qq update && apt -qq install -y git wget ffmpeg mediainfo
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
CMD ["python", "main.py"] CMD ["bash", "cloud.sh"]

View File

@@ -1 +1 @@
web: python3 main.py web: bash cloud.sh

17
cloud.sh Normal file
View File

@@ -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