Spaces:
Running
Running
glitz-dev
commited on
Commit
·
f49aef0
1
Parent(s):
9fa396f
docker file changed to reoslove runtime error on huggingface
Browse files- .gitignore +1 -0
- Dockerfile +2 -1
.gitignore
CHANGED
|
@@ -24,6 +24,7 @@ env/
|
|
| 24 |
*.egg-info/
|
| 25 |
dist/
|
| 26 |
build/
|
|
|
|
| 27 |
.eggs/
|
| 28 |
|
| 29 |
# Logs
|
|
|
|
| 24 |
*.egg-info/
|
| 25 |
dist/
|
| 26 |
build/
|
| 27 |
+
static/
|
| 28 |
.eggs/
|
| 29 |
|
| 30 |
# Logs
|
Dockerfile
CHANGED
|
@@ -7,4 +7,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 7 |
|
| 8 |
EXPOSE 7860
|
| 9 |
|
| 10 |
-
CMD ["python", "hipaathesis.py"]
|
|
|
|
|
|
| 7 |
|
| 8 |
EXPOSE 7860
|
| 9 |
|
| 10 |
+
#CMD ["python", "hipaathesis.py"]
|
| 11 |
+
CMD ["uvicorn", "hipaathesis:app", "--host", "0.0.0.0", "--port", "7860"]
|