mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 00:59:18 +02:00
Fixed docker compose
and python lib requirements
This commit is contained in:
parent
5e9ed3738c
commit
48da0d7f95
2 changed files with 14 additions and 1 deletions
|
@ -48,7 +48,7 @@ services:
|
||||||
- "3030:3030"
|
- "3030:3030"
|
||||||
volumes:
|
volumes:
|
||||||
- /home/jonas_jones/jonas_jones-api:/home/jonas_jones/jonas_jones-api
|
- /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:
|
run container:
|
||||||
|
|
13
requirements.txt
Normal file
13
requirements.txt
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
os
|
||||||
|
sys
|
||||||
|
json
|
||||||
|
time
|
||||||
|
requests
|
||||||
|
datetime
|
||||||
|
python-dotenv
|
||||||
|
spotipy
|
||||||
|
praw
|
||||||
|
re
|
||||||
|
spotipy
|
||||||
|
pylast
|
||||||
|
typing
|
Loading…
Add table
Add a link
Reference in a new issue