Coderadi commited on
Commit
eecb3a7
·
1 Parent(s): 521f25e

NYRA HF deployment

Browse files
database/learning_data/system_context.txt.txt DELETED
File without changes
dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+
3
+ WORKDIR /app
4
+
5
+ COPY requirements.txt .
6
+ RUN pip install -r requirements.txt
7
+
8
+ COPY . .
9
+
10
+ EXPOSE 7860
11
+
12
+ CMD [".venv/Scripts/python.exe", "run.py"]
run.py CHANGED
@@ -4,6 +4,6 @@ if __name__ == "__main__":
4
  uvicorn.run(
5
  "app.main:app",
6
  host="0.0.0.0",
7
- port=8000,
8
- reload=True,
9
- )
 
4
  uvicorn.run(
5
  "app.main:app",
6
  host="0.0.0.0",
7
+ port=7860,
8
+ reload=False,
9
+ )