From 00134ee7b1a43a06dfca5ef41fee3319314004e4 Mon Sep 17 00:00:00 2001 From: HappyTanuki Date: Thu, 13 Feb 2025 16:50:03 +0900 Subject: [PATCH] =?UTF-8?q?2=EC=B0=A8=20=EB=A6=AC=ED=8C=A9=ED=84=B0?= =?UTF-8?q?=ED=84=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BuildDockerAndUpload.sh | 9 +++++---- Dockerfile | 2 ++ include/Audio/MusicPlayManager.hpp | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) 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;