WaiYanLinn commited on
Commit
68fd43e
β€’
1 Parent(s): ac4e81f
Files changed (4) hide show
  1. .gitignore +2 -1
  2. Dockerfile +1 -1
  3. app.py β†’ main.py +0 -0
  4. 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", "app:wsgi", "--host", "0.0.0.0", "--port", "8000"]
 
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