From 223a4f682a614fe17f6fcbbb34f512eae7539af1 Mon Sep 17 00:00:00 2001 From: JamieDanielson Date: Tue, 9 Apr 2024 13:32:51 -0400 Subject: [PATCH] remove (gitignored) poetry lock from dockerfiles --- examples/hello-world-flask/Dockerfile | 2 +- examples/hello-world/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/hello-world-flask/Dockerfile b/examples/hello-world-flask/Dockerfile index cad4673..237ff6c 100644 --- a/examples/hello-world-flask/Dockerfile +++ b/examples/hello-world-flask/Dockerfile @@ -17,7 +17,7 @@ RUN pip install "poetry==$POETRY_VERSION" RUN poetry config virtualenvs.create false # Copy the distro into the image and install deps. -COPY README.md pyproject.toml poetry.lock ./ +COPY README.md pyproject.toml ./ COPY src/ ./src/ RUN poetry install diff --git a/examples/hello-world/Dockerfile b/examples/hello-world/Dockerfile index 4f3448e..08adcff 100644 --- a/examples/hello-world/Dockerfile +++ b/examples/hello-world/Dockerfile @@ -15,7 +15,7 @@ RUN pip install "poetry==$POETRY_VERSION" # This image is single purpose, so we won't need to compartmentalize Py deps in virtualenvs. RUN poetry config virtualenvs.create false -COPY README.md pyproject.toml poetry.lock ./ +COPY README.md pyproject.toml ./ COPY src/ ./src/ RUN poetry install @@ -25,4 +25,4 @@ RUN cd ./examples/hello-world && poetry install # From this point forward, we're operating on the example app. WORKDIR /app/examples/hello-world -CMD ["python", "app.py"] \ No newline at end of file +CMD ["python", "app.py"]