Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.2
|
2 |
-
EXPOSE 8880
|
3 |
|
4 |
# The base image likely already has the necessary command to run the application.
|
5 |
# If you need to override it, you can add a CMD instruction here.
|
6 |
# For example, based on common FastAPI setups, it might be:
|
7 |
-
|
8 |
# However, it's recommended to rely on the base image's configuration if possible.
|
|
|
1 |
FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.2
|
2 |
+
# EXPOSE 8880
|
3 |
|
4 |
# The base image likely already has the necessary command to run the application.
|
5 |
# If you need to override it, you can add a CMD instruction here.
|
6 |
# For example, based on common FastAPI setups, it might be:
|
7 |
+
CMD ["uvicorn", "api.src.main:app", "--host", "0.0.0.0", "--port", "8880"]
|
8 |
# However, it's recommended to rely on the base image's configuration if possible.
|