diff --git a/BuildDockerAndUpload.sh b/BuildDockerAndUpload.sh index c3b1596..c506724 100755 --- a/BuildDockerAndUpload.sh +++ b/BuildDockerAndUpload.sh @@ -1,7 +1,8 @@ #!/bin/bash -cd build -cmake .. && make -cd .. -cat password | docker login -u happytanuki12 --password-stdin +( + cd build + cmake .. && make +) +docker login -u happytanuki12 --password-stdin < password docker build --tag happytanuki12/bumblebee:latest . docker push happytanuki12/bumblebee:latest \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index fcaaf28..5ef2196 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ RUN apt-get install -y python3-brotli RUN apt-get install -y python3-websockets RUN apt-get install -y python3-requests RUN apt-get install -y python3-mutagen +RUN apt-get clean +RUN rm -rf /var/lib/apt/lists/* RUN pip3 install --break-system-packages --no-cache-dir curl_cffi RUN pip3 install --break-system-packages --no-cache-dir pycryptodome RUN curl -Lo dpp.deb https://dl.dpp.dev/ diff --git a/include/Audio/MusicPlayManager.hpp b/include/Audio/MusicPlayManager.hpp index d4da2a3..dfb78c6 100644 --- a/include/Audio/MusicPlayManager.hpp +++ b/include/Audio/MusicPlayManager.hpp @@ -52,6 +52,7 @@ public: MusicQueueElement getNowPlaying(const dpp::snowflake guildId); std::condition_variable queuedCondition; + private: std::shared_ptr cluster;