You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: building/lambda/Dockerfile
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,17 @@ RUN ln -s /usr/bin/gcc10-mpn /usr/bin/mpn
32
32
RUN ln -s /usr/bin/gcc10-ld /usr/bin/ld
33
33
34
34
FROM ${python_version}
35
-
COPY pyproject.toml poetry.lock ./
35
+
COPY pyproject.toml uv.lock ./
36
36
37
37
RUN pip3 install --upgrade pip wheel setuptools>=64 setuptools_scm>=8
38
38
RUN pip3 install --upgrade urllib3==1.26.16 # temporary to avoid https://github.com/urllib3/urllib3/issues/2168 (TODO remove when the AL2 image updates to support OpenSSL 1.1.1+)
39
-
RUN pip3 install --upgrade six cython cmake hypothesis poetry
40
-
ENV PIP_NO_BINARY="numpy,pandas"
41
-
RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
42
-
43
-
RUN rm -f pyproject.toml poetry.lock
39
+
RUN pip3 install --upgrade six cython cmake==3.31.6 hypothesis uv
40
+
# ENV PIP_NO_BINARY="numpy,pandas"
41
+
# RUN poetry config virtualenvs.create false --local && poetry install --no-root --only main
42
+
RUN uv sync --frozen --no-dev --no-install-project \
0 commit comments