Migrate Skyvern to uv from poetry (#3554)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> Co-authored-by: stas <stas@skyvern.com>
This commit is contained in:
committed by
GitHub
parent
878ef36a36
commit
d61179e132
@@ -2,11 +2,11 @@ FROM python:3.11 AS requirements-stage
|
||||
# Run `skyvern init llm` before building to generate the .env file
|
||||
|
||||
WORKDIR /tmp
|
||||
RUN pip install poetry
|
||||
RUN poetry self add poetry-plugin-export
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||
&& ln -s /root/.local/bin/uv /usr/local/bin/uv
|
||||
COPY ./pyproject.toml /tmp/pyproject.toml
|
||||
COPY ./poetry.lock /tmp/poetry.lock
|
||||
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes
|
||||
COPY ./uv.lock /tmp/uv.lock
|
||||
RUN uv pip compile pyproject.toml -o requirements.txt --no-annotate --no-header
|
||||
|
||||
FROM python:3.11-slim-bookworm
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user