From 48da0d7f95a3c2e28e50be6aa839151420d299ae Mon Sep 17 00:00:00 2001 From: J-onasJones Date: Mon, 12 Feb 2024 04:05:44 +0100 Subject: [PATCH] Fixed docker compose and python lib requirements --- README.md | 2 +- requirements.txt | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index f4f1748..43d7ecd 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..560c864 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,13 @@ +os +sys +json +time +requests +datetime +python-dotenv +spotipy +praw +re +spotipy +pylast +typing \ No newline at end of file