Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -361,11 +361,11 @@ if __name__ == "__main__":
|
|
| 361 |
except Exception as e:
|
| 362 |
logger.error(f"Failed to pre-load voice: {e}")
|
| 363 |
|
| 364 |
-
app.run(host="0.0.0.0", port=
|
| 365 |
PYTHON_SERVER
|
| 366 |
|
| 367 |
# Expose port
|
| 368 |
-
EXPOSE
|
| 369 |
|
| 370 |
# Health check
|
| 371 |
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|
|
|
|
| 361 |
except Exception as e:
|
| 362 |
logger.error(f"Failed to pre-load voice: {e}")
|
| 363 |
|
| 364 |
+
app.run(host="0.0.0.0", port=7860, threaded=True)
|
| 365 |
PYTHON_SERVER
|
| 366 |
|
| 367 |
# Expose port
|
| 368 |
+
EXPOSE 7860
|
| 369 |
|
| 370 |
# Health check
|
| 371 |
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
|