fix container build for tts
This commit is contained in:
+6
-1
@@ -1,10 +1,15 @@
|
|||||||
FROM ghcr.io/astral-sh/uv:python3.13-alpine
|
FROM python:3.13-slim
|
||||||
|
|
||||||
|
# Install uv
|
||||||
|
RUN pip install --no-cache-dir uv
|
||||||
|
|
||||||
# Copy the project into the image
|
# Copy the project into the image
|
||||||
COPY vibe_bot /app
|
COPY vibe_bot /app
|
||||||
COPY uv.lock /app
|
COPY uv.lock /app
|
||||||
COPY .python-version /app
|
COPY .python-version /app
|
||||||
COPY pyproject.toml /app
|
COPY pyproject.toml /app
|
||||||
|
COPY kokoro-v1.0.onnx /app/kokoro-v1.0.onnx
|
||||||
|
COPY voices-v1.0.bin /app/voices-v1.0.bin
|
||||||
|
|
||||||
# Disable development dependencies
|
# Disable development dependencies
|
||||||
ENV UV_NO_DEV=1
|
ENV UV_NO_DEV=1
|
||||||
|
|||||||
@@ -15,3 +15,8 @@ dependencies = [
|
|||||||
"pytest-env>=1.5.0",
|
"pytest-env>=1.5.0",
|
||||||
"kokoro-tts>=2.3.1",
|
"kokoro-tts>=2.3.1",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
required-environments = [
|
||||||
|
"sys_platform == 'linux' and platform_machine == 'x86_64'",
|
||||||
|
]
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
version = 1
|
version = 1
|
||||||
revision = 3
|
revision = 3
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
|
required-markers = [
|
||||||
|
"platform_machine == 'x86_64' and sys_platform == 'linux'",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aiohappyeyeballs"
|
name = "aiohappyeyeballs"
|
||||||
|
|||||||
Reference in New Issue
Block a user