FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ffmpeg-python/.devcontainer/Dockerfile at devcontainer-setup-271 · squidarth/ffmpeg-python · GitHub
squidarth
ffmpeg-python
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ffmpeg-python
/
.devcontainer
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (12 loc) · 696 Bytes
Breadcrumbs
ffmpeg-python
/
.devcontainer
/
Dockerfile
Copy path
File metadata and controls
18 lines (12 loc) · 696 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
Use the official Python base image
FROM
ubuntu
#
Set the working directory
WORKDIR
/app
#
Install FFmpeg
RUN
apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
#
Clone the ffmpeg-python repository
RUN
apt-get update && apt-get install -y --no-install-recommends git && git clone https://github.com/kkroening/ffmpeg-python.git /app/ffmpeg-python && rm -rf /var/lib/apt/lists/*
#
Install the required dependencies
RUN
pip install --no-cache-dir -r /app/ffmpeg-python/requirements.txt
#
Optional: Set the entrypoint for the container
ENTRYPOINT
[
"python"
]
Back
|
FazBrowse Home
|
New Git URL