Spaces:
Sleeping
Sleeping
Commit ·
8890ebd
1
Parent(s): 12d1907
modified Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -10,4 +10,4 @@ COPY . .
|
|
| 10 |
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
-
CMD ["sh", "-c", "if [ \"$RUN_MODE\" = \"server\" ]; then uvicorn
|
|
|
|
| 10 |
|
| 11 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
+
CMD ["sh", "-c", "if [ \"$RUN_MODE\" = \"server\" ]; then uvicorn server7860:app --host 0.0.0.0 --port 7860; else python inference.py; fi"]
|