File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1818 steps :
1919 - uses : actions/checkout@v4
2020 - name : Install uv and set Python to ${{ matrix.python-version }}
21- uses : astral-sh/setup-uv@v5
21+ uses : astral-sh/setup-uv@v6
2222 with :
23- version : " 0.6.10 "
23+ version : " 0.7.20 "
2424 python-version : ${{ matrix.python-version }}
2525 - name : Install dependencies
2626 run : |
Original file line number Diff line number Diff line change @@ -23,15 +23,16 @@ RUN addgroup --gid $CMS_GID cms || true && \
2323
2424COPY app /app
2525COPY pyproject.toml /pyproject.toml
26+ COPY uv.lock /uv.lock
2627COPY docker/entrypoint/serve.sh /app/entrypoint.sh
2728RUN mkdir -p /app/model/model && \
2829 mkdir -p /app/model/retrained && \
2930 chown -R $CMS_UID:$CMS_GID /app
30- RUN pip install --no-cache-dir -U pip && \
31- pip install --no-cache-dir -e . && \
31+ RUN pip install --no-cache-dir uv==0.7.20 && \
32+ uv sync --locked && \
3233 chmod +x /app/entrypoint.sh
3334
3435WORKDIR /app
3536EXPOSE 8000
3637USER cms:cms
37- CMD ["/app/entrypoint.sh" ]
38+ CMD ["uv" , "run" , " /app/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments