Merged in bugfix/release_dockerfile (pull request #862)

Updated dockerfile to use uv instead of poetry

* Updated dockerfile to use uv instead of poetry


Approved-by: Katon Minhas
This commit is contained in:
Sha Brown
2026-02-02 20:48:22 +00:00
parent 02d10e711e
commit 6efb281d4b
+4 -4
View File
@@ -11,15 +11,15 @@ ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN --mount=type=cache,target=/root/.cache/pip \
python -m pip install poetry
pip install uv
WORKDIR /app
COPY pyproject.toml .
COPY poetry.lock .
COPY uv.lock .
RUN --mount=type=cache,target=/root/.cache/pip \
poetry install --only main --compile
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen
COPY . ${LAMBDA_TASK_ROOT}