Calistus commited on
Commit
0441dad
·
1 Parent(s): 70c909e

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10.2-slim-buster
2
+ WORKDIR /app
3
+ COPY ./requirements.txt /app/requirements.txt
4
+ COPY pipelin.pkl /app/pipelin.pkl
5
+ RUN pip install --no cache-dir -- upgrade -r requirements.txt /app/requirements.txt
6
+ COPY . .
7
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
8
+