Spaces:
Runtime error
Runtime error
Commit ·
17c5fb9
1
Parent(s): f059514
Updated Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -20,7 +20,5 @@ RUN ls -R /insucompass
|
|
| 20 |
|
| 21 |
EXPOSE 7860
|
| 22 |
|
| 23 |
-
HEALTHCHECK CMD curl --fail http://localhost:7860/health || exit 1
|
| 24 |
-
|
| 25 |
COPY --chown=user . /insucompass
|
| 26 |
-
CMD ["
|
|
|
|
| 20 |
|
| 21 |
EXPOSE 7860
|
| 22 |
|
|
|
|
|
|
|
| 23 |
COPY --chown=user . /insucompass
|
| 24 |
+
CMD ["uvicorn", "insucompass.main:app", "--host", "0.0.0.0", "--port", "7860"]
|