-
Notifications
You must be signed in to change notification settings - Fork 291
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
Showing
4 changed files
with
13 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
FROM python:3.9-slim-buster | ||
FROM python:3.9-buster | ||
|
||
RUN apt-get update -y && apt-get upgrade -y \ | ||
RUN apt-get update -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/* | ||
|
||
WORKDIR /app | ||
COPY . /app | ||
|
||
RUN pip3 install --upgrade pip | ||
RUN pip3 install --no-cache-dir -U -r requirements.txt | ||
COPY requirements.txt . | ||
|
||
RUN pip install --no-cache-dir -U pip \ | ||
&& pip install --no-cache-dir -U -r requirements.txt | ||
|
||
COPY . . | ||
|
||
CMD ["bash", "start"] |
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 +1 @@ | ||
python-3.12.7 | ||
python-3.9.7 |