Spaces:
Runtime error
Runtime error
WaiYanLinn
commited on
Commit
β’
68fd43e
1
Parent(s):
ac4e81f
'fixed'
Browse files- .gitignore +2 -1
- Dockerfile +1 -1
- app.py β main.py +0 -0
- note.txt +4 -1
.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
__pycache__/
|
2 |
-
*.pyc
|
|
|
|
1 |
__pycache__/
|
2 |
+
*.pyc
|
3 |
+
.venv
|
Dockerfile
CHANGED
@@ -23,4 +23,4 @@ EXPOSE 8000
|
|
23 |
|
24 |
# Run uvicorn when the container launches
|
25 |
# CMD ["uvicorn", "main:app"]
|
26 |
-
CMD ["uvicorn", "
|
|
|
23 |
|
24 |
# Run uvicorn when the container launches
|
25 |
# CMD ["uvicorn", "main:app"]
|
26 |
+
CMD ["uvicorn", "main:wsgi", "--host", "0.0.0.0", "--port", "8000"]
|
app.py β main.py
RENAMED
File without changes
|
note.txt
CHANGED
@@ -2,4 +2,7 @@
|
|
2 |
flask run --app app --debug
|
3 |
|
4 |
# Run Production Server
|
5 |
-
uvicorn app:wsgi
|
|
|
|
|
|
|
|
2 |
flask run --app app --debug
|
3 |
|
4 |
# Run Production Server
|
5 |
+
uvicorn app:wsgi
|
6 |
+
|
7 |
+
# create requirement file
|
8 |
+
pip freeze > requirements.txt
|