We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9797522 commit 31088daCopy full SHA for 31088da
examples/build_recipes/poetry/Dockerfile.poetry
@@ -5,17 +5,13 @@ FROM public.ecr.aws/lambda/python:3.13-x86_64
5
# Set workdir file
6
WORKDIR /tmp/app
7
8
-# Install poetry
9
-RUN pip install poetry
10
-
11
# Copy poetry files
12
COPY pyproject.toml poetry.lock ./
13
14
-# Configure poetry
15
-RUN poetry config virtualenvs.create false
16
17
-# Install dependencies
18
-RUN poetry install --only=main --no-root
+# Configure poetry and install dependencies
+RUN poetry config virtualenvs.create false \
+ pip install poetry \
+ poetry install --only=main --no-root
19
20
# Copy application code
21
COPY app_poetry.py ./
0 commit comments