-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc39566
commit 7d9379a
Showing
1 changed file
with
8 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
FROM python:3.13-bookworm | ||
FROM nikolaik/python-nodejs:python3.10-nodejs19 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends ffmpeg git && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends ffmpeg \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
COPY requirements.txt ./ | ||
RUN python3 -m pip install --upgrade pip setuptools wheel && \ | ||
pip3 install --no-cache-dir -r requirements.txt && \ | ||
rm -rf ~/.cache/pip | ||
|
||
COPY . . | ||
COPY . /app/ | ||
WORKDIR /app/ | ||
RUN pip3 install --no-cache-dir -U -r requirements.txt | ||
|
||
CMD bash start |