TAisBUG commited on
Commit
e3e5799
·
verified ·
1 Parent(s): c8981c5

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
2
+
3
+ COPY ./requirements.txt /app/requirements.txt
4
+
5
+ RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
6
+
7
+ COPY ./app.py /app/
8
+
9
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]