Skip to content

Commit

Permalink
Revert ".."
Browse files Browse the repository at this point in the history
This reverts commit e808f52.
  • Loading branch information
AsmSafone committed Jun 19, 2024
1 parent e808f52 commit cfe3aec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,12 @@ RUN apt install git curl python3-pip ffmpeg -y
COPY requirements.txt /requirements.txt

# Installing Requirements
RUN cd /
RUN pip3 install --upgrade pip
RUN pip3 install -U -r /requirements.txt

# Setting up the directory
RUN pip3 install -U -r requirements.txt
RUN mkdir /MusicPlayer
WORKDIR /MusicPlayer

# Copying the startup script
COPY startup.sh /startup.sh
RUN chmod +x /startup.sh

# Running Music Player Bot
CMD ["/bin/bash", "/startup.sh"]
7 changes: 0 additions & 7 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
#!/bin/bash

echo ">> FETCHING UPSTREAM..."
if [ -d "/MusicPlayer" ]; then
rm -rf /MusicPlayer
fi
git clone -b dev https://github.com/AsmSafone/MusicPlayer /MusicPlayer

echo ">> INSTALLING REQUIREMENTS..."
cd /MusicPlayer
pip3 install -U -r requirements.txt

echo ">> STARTING MUSIC PLAYER USERBOT..."
clear
echo "
Expand Down

0 comments on commit cfe3aec

Please sign in to comment.