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:
+4
-4
@@ -11,15 +11,15 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
python -m pip install poetry
|
pip install uv
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
COPY poetry.lock .
|
COPY uv.lock .
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
poetry install --only main --compile
|
uv sync --frozen
|
||||||
|
|
||||||
COPY . ${LAMBDA_TASK_ROOT}
|
COPY . ${LAMBDA_TASK_ROOT}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user