Skip to content

Commit

Permalink
remove (gitignored) poetry lock from dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieDanielson committed Apr 9, 2024
1 parent 12c2b6f commit 223a4f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/hello-world-flask/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/hello-world/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]
CMD ["python", "app.py"]

0 comments on commit 223a4f6

Please sign in to comment.