Merge pull request #291 from RigleGit/patch-1

This commit is contained in:
remsky 2025-04-22 09:51:16 -06:00 committed by GitHub
commit 2c7e1e8c0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,6 +30,10 @@ WORKDIR /app
# Copy dependency files
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
RUN --mount=type=cache,target=/root/.cache/uv \
uv venv --python 3.10 && \