Harsh03s commited on
Commit
1fd77cc
·
verified ·
1 Parent(s): 0d116eb

upload docker file

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +12 -0
Dockerfile.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ WORKDIR /code
4
+
5
+ COPY requirements.txt /code/
6
+ RUN pip install --no-cache-dir -r requirements.txt
7
+
8
+ COPY . /code
9
+
10
+ EXPOSE 7860
11
+
12
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]