Skip to content

Commit

Permalink
Minor Fixed. 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
KSKOP69 committed Oct 26, 2024
1 parent 8ad779a commit 5925df9
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN pip3 install --no-cache-dir -U -r requirements.txt

COPY . .

CMD ["python3", "-m", "AlexaMusic"]
CMD ["bash", "start"]
15 changes: 8 additions & 7 deletions app.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import os
from flask import Flask
from flask_restful import Resource, Api

app = Flask(__name__)
api = Api(app)

class Greeting (Resource):
def get(self):
return "Alexa Music is Alive!"

@app.route("/")
def hello():
return "Hello"


if __name__ == "__main__":
app.run(host="0.0.0.0", port=80)
api.add_resource(Greeting, '/')
app.run(host="0.0.0.0", port=os.environ.get("PORT", 8080))
45 changes: 23 additions & 22 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
aiofiles
aiohttp==3.9.3
beautifulsoup4
aiofiles~=24.1.0
aiohttp>=3.10.10
beautifulsoup4~=4.12.3
dnspython==2.1.0
ffmpeg-python
gitpython
hachoir
heroku3
lyricsgenius
motor
gitpython==3.1.30
hachoir==3.2.0
heroku3==5.1.4
lyricsgenius==3.0.1
motor~=3.6
ntgcalls>=1.2.3
pillow
psutil
py-tgcalls
pykeyboard
pillow~=11.0.0
psutil~=6.1.0
py-tgcalls>=2.0.3
pykeyboard~=0.1.5
git+https://github.com/KurimuzonAkuma/pyrogram@dev
python-dotenv
PyYAML
requests
speedtest-cli
spotipy
python-dotenv~=1.0.1
pyyaml~=5.3.1
requests>=2.32.2
speedtest-cli~=2.1.3
spotipy~=2.24.0
tgcrypto-pyroblack>=1.2.6
unidecode
yt-dlp
unidecode~=1.3.8
yt-dlp==2023.10.13
youtube-search
youtube-search-python
flask
gunicorn
youtube-search-python~=1.6.6
flask~=3.0.3
flask_restful~=0.3.10
gunicorn~=23.0
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python3 -m AlexaMusic
python3 app.py & python3 -m AlexaMusic

0 comments on commit 5925df9

Please sign in to comment.