randydev commited on
Commit
142c849
1 Parent(s): 98a7da2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -5
Dockerfile CHANGED
@@ -1,12 +1,21 @@
1
  FROM rendyprojects/python:latest
2
 
3
- WORKDIR /code
4
 
5
- COPY ./requirements.txt /code/requirements.txt
6
-
7
- RUN pip install --upgrade pip
8
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
 
 
 
 
 
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"]