Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +24 -0
Dockerfile
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM debian:bullseye
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
RUN apt-get update && apt-get install -y \
|
6 |
+
python3 \
|
7 |
+
python3-pip \
|
8 |
+
git \
|
9 |
+
git-lfs \
|
10 |
+
ffmpeg \
|
11 |
+
libsm6 \
|
12 |
+
libxext6 \
|
13 |
+
cmake \
|
14 |
+
rsync \
|
15 |
+
libgl1-mesa-glx \
|
16 |
+
&& rm -rf /var/lib/apt/lists/* \
|
17 |
+
&& git lfs install
|
18 |
+
|
19 |
+
COPY requirements.txt .
|
20 |
+
RUN pip3 install --no-cache-dir -r requirements.txt
|
21 |
+
|
22 |
+
COPY . .
|
23 |
+
|
24 |
+
CMD ["python3", "app.py"]
|