Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +14 -5
Dockerfile
CHANGED
@@ -1,12 +1,21 @@
|
|
1 |
FROM rendyprojects/python:latest
|
2 |
|
3 |
-
WORKDIR /
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
COPY . .
|
11 |
|
|
|
|
|
|
|
12 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
FROM rendyprojects/python:latest
|
2 |
|
3 |
+
WORKDIR /app/
|
4 |
|
5 |
+
RUN apt -qq update
|
6 |
+
RUN apt -qq install -y --no-install-recommends \
|
7 |
+
curl \
|
8 |
+
git \
|
9 |
+
gnupg2 \
|
10 |
+
unzip \
|
11 |
+
wget \
|
12 |
+
python3-pip \
|
13 |
+
ffmpeg \
|
14 |
+
neofetch
|
15 |
|
16 |
COPY . .
|
17 |
|
18 |
+
RUN pip3 install --upgrade pip setuptools
|
19 |
+
RUN pip3 install -r requirements.txt
|
20 |
+
|
21 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|