Mohamed-Sami commited on
Commit
ae1cfb5
·
verified ·
1 Parent(s): 49a684f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -8
Dockerfile CHANGED
@@ -1,9 +1,11 @@
1
- FROM python:3.8-alpine
2
-
3
- COPY . /app
4
-
5
- WORKDIR /app
6
-
7
- RUN pip install -r requirements.txt
8
-
 
 
9
  CMD ["uvicorn", "app:app" , "--port" , "8000" , "--host", "0.0.0.0"]
 
1
+ FROM python:3.8-alpine
2
+
3
+ COPY . /app
4
+
5
+ WORKDIR /app
6
+
7
+ RUN pip install --upgrade pip
8
+
9
+ RUN pip install -r requirements.txt
10
+
11
  CMD ["uvicorn", "app:app" , "--port" , "8000" , "--host", "0.0.0.0"]