Skip to content

Commit

Permalink
Remove the need to copy README file when installing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
spyker77 committed Nov 3, 2023
1 parent e3bef5a commit 0fc6dc7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Copy PDM files and install python dependencies
COPY pyproject.toml pdm.lock README.md ./
COPY pyproject.toml pdm.lock ./
RUN mkdir __pypackages__ && pdm sync --dev

###################
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.web
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Copy PDM files and install python dependencies
COPY pyproject.toml pdm.lock README.md ./
COPY pyproject.toml pdm.lock ./
RUN mkdir __pypackages__ && pdm sync --dev

###################
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Copy PDM files and install python dependencies
COPY pyproject.toml pdm.lock README.md ./
COPY pyproject.toml pdm.lock ./
RUN mkdir __pypackages__ && pdm sync --dev

###################
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ version = "2.0.0"
description = "Test-driven development with FastAPI and Docker"
authors = [{ name = "Evgeni Sautin", email = "[email protected]" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.11,<4.0"
dependencies = [
"python-jose[cryptography]<4.0.0,>=3.3.0",
Expand Down

0 comments on commit 0fc6dc7

Please sign in to comment.