venkata1995 commited on
Commit
9fd4419
·
verified ·
1 Parent(s): f9b8f03

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ WORKDIR /code
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ COPY ./app ./app
9
+ COPY ./frontend ./frontend
10
+
11
+ # Install uvicorn and Gradio
12
+ RUN pip install fastapi uvicorn gradio
13
+
14
+ CMD uvicorn app.main:app --host 0.0.0.0 --port 8000 & python frontend/app.py