Skip to content

Commit

Permalink
Fix: Fix rye installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Sep 17, 2024
1 parent 253ea5d commit ce84225
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 624 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sub-audio-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Install rye
run: |
pip install rye
curl -sSf https://rye.astral.sh/get | bash
- name: Cache packages
uses: actions/cache@v3
Expand Down
6 changes: 3 additions & 3 deletions sub-audio/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ WORKDIR /app
RUN apt-get update && apt-get install -y \
ffmpeg curl

RUN pip install uv
RUN curl -sSf https://rye.astral.sh/get | bash

COPY sub-audio/pyproject.toml sub-audio/poetry.lock ./
COPY sub-audio/pyproject.toml sub-audio/requirements.lock

RUN uv pip install --no-cache --system -r requirements.lock
RUN rye sync --no-dev

COPY sub-audio/* .

Expand Down
Loading

0 comments on commit ce84225

Please sign in to comment.