Fixed docker compose

and python lib requirements
This commit is contained in:
J-onasJones 2024-02-12 04:05:44 +01:00
parent 5e9ed3738c
commit 48da0d7f95
2 changed files with 14 additions and 1 deletions

View file

@ -48,7 +48,7 @@ services:
- "3030:3030"
volumes:
- /home/jonas_jones/jonas_jones-api:/home/jonas_jones/jonas_jones-api
command: ["sh", "-c", "pacman -Syu --noconfirm --needed pkg-config openssl cargo && cd /home/jonas_jones/jonas_jones-api && /usr/bin/cargo run"]
command: ["sh", "-c", "pacman -Syu --noconfirm --needed pkg-config openssl python3 python-pip cargo && pip install -r requirements.txt && cd /home/jonas_jones/jonas_jones-api && /usr/bin/cargo run"]
```
run container:

13
requirements.txt Normal file
View file

@ -0,0 +1,13 @@
os
sys
json
time
requests
datetime
python-dotenv
spotipy
praw
re
spotipy
pylast
typing