Create Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ghcr.io/remsky/kokoro-fastapi-cpu:v0.2.0post3
|
| 2 |
+
# Optional: set the environment variable if your app supports it
|
| 3 |
+
ENV PORT=8880
|
| 4 |
+
EXPOSE 8880
|
| 5 |
+
# If the image already includes the correct CMD, you may not need to override it.
|
| 6 |
+
# Otherwise, ensure the command starts the server binding to 0.0.0.0, for example:
|
| 7 |
+
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8880"]
|