Leonydis137 commited on
Commit
7ab042d
·
verified ·
1 Parent(s): d584940

Upload 21 files

Browse files
Files changed (3) hide show
  1. Dockerfile +13 -0
  2. Procfile +1 -0
  3. requirements.txt +8 -2
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ FROM python:3.10-slim
3
+
4
+ WORKDIR /app
5
+
6
+ COPY . /app
7
+
8
+ RUN pip install --no-cache-dir --upgrade pip && \
9
+ pip install --no-cache-dir -r requirements.txt
10
+
11
+ EXPOSE 8000
12
+
13
+ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "8000"]
Procfile ADDED
@@ -0,0 +1 @@
 
 
1
+ web: uvicorn api:app --host=0.0.0.0 --port=${PORT:-8000}
requirements.txt CHANGED
@@ -1,2 +1,8 @@
1
-
2
- gradio>=3.41.0
 
 
 
 
 
 
 
1
+ fastapi
2
+ uvicorn
3
+ aiofiles
4
+ jinja2
5
+ requests
6
+ beautifulsoup4
7
+ schedule
8
+ sqlite3-binary