Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
KSKOP69 committed Nov 2, 2024
1 parent 21a6b02 commit b2a4d61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
19 changes: 9 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
FROM python:3.12-slim-bullseye
FROM python:3.9-slim-buster

WORKDIR /AlexaMusic
RUN chmod 777 /AlexaMusic
RUN apt-get update -y && apt-get upgrade -y \
&& apt-get install -y --no-install-recommends ffmpeg \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y git gcc build-essential \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN apt-get -qq update && apt-get -qq -y upgrade
RUN apt-get install -y --no-install-recommends ffmpeg
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git gcc build-essential
WORKDIR /app
COPY . /app

RUN pip3 install -U pip
COPY requirements.txt .
RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -U -r requirements.txt

COPY . .

CMD ["bash", "start"]
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ py-tgcalls==2.0.2
pykeyboard
pyrotgfork>=2.1.33.12
python-dotenv
pyyaml==5.3.1
pyyaml
requests
speedtest-cli
spotipy
PyTgCrypto
unidecode
yt-dlp
youtube-search
youtube-search-python

0 comments on commit b2a4d61

Please sign in to comment.