-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from KSKOP69/master
No sound Fixed By @KSKOP69
- Loading branch information
Showing
6 changed files
with
182 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
FROM nikolaik/python-nodejs:python3.9-nodejs19 | ||
FROM python:3.11-bookworm | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends ffmpeg \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV VIRTUAL_ENV=/opt/venv | ||
RUN python3 -m venv $VIRTUAL_ENV | ||
ENV PATH="$VIRTUAL_ENV/bin:$PATH" | ||
|
||
COPY . /app/ | ||
WORKDIR /app/ | ||
RUN pip3 install --no-cache-dir -U -r requirements.txt | ||
WORKDIR /app | ||
ENV PIP_NO_CACHE_DIR=1 PYTHONUNBUFFERED=1 | ||
|
||
CMD bash start | ||
RUN apt update && \ | ||
apt upgrade -y && \ | ||
apt install -y ffmpeg apt-utils build-essential python3-dev && \ | ||
pip3 install -U pip wheel setuptools && \ | ||
apt-get clean | ||
|
||
COPY . . | ||
|
||
RUN pip3 install --no-cache-dir -U -r requirements.txt && \ | ||
apt update && apt autoremove -y && \ | ||
apt clean && rm -rf /var/lib/apt/lists/* ~/.thumbs/* ~/.cache | ||
|
||
CMD python3 -m AlexaMusic |
Oops, something went wrong.