mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-08-05 16:48:53 +00:00
Merge pull request #291 from RigleGit/patch-1
This commit is contained in:
commit
2c7e1e8c0b
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ WORKDIR /app
|
||||||
# Copy dependency files
|
# Copy dependency files
|
||||||
COPY --chown=appuser:appuser pyproject.toml ./pyproject.toml
|
COPY --chown=appuser:appuser pyproject.toml ./pyproject.toml
|
||||||
|
|
||||||
|
# Install Rust (required to build sudachipy and pyopenjtalk-plus)
|
||||||
|
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
|
ENV PATH="/home/appuser/.cargo/bin:$PATH"
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
uv venv --python 3.10 && \
|
uv venv --python 3.10 && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue