Skip to content

Commit 374530e

Browse files
committed
Copy file for maturin
1 parent 6ce3dc0 commit 374530e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fastapi/docker_files.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ ENV PATH="/root/.local/bin:/root/.cargo/bin:$PATH"
644644
# Create virtual environment and download Python
645645
RUN uv venv -p {python_version}
646646
647-
COPY pyproject.toml Cargo.toml Cargo.lock ./
647+
COPY pyproject.toml Cargo.toml Cargo.lock README.md LICENSE ./
648648
COPY src/ ./src
649649
650650
RUN --mount=type=cache,target=/app/target/ \
@@ -731,7 +731,7 @@ ENV PATH="/root/.local/bin:/root/.cargo/bin:$PATH"
731731
# Create virtual environment
732732
RUN python{python_version} -m venv .venv
733733
734-
COPY pyproject.toml Cargo.toml Cargo.lock ./
734+
COPY pyproject.toml Cargo.toml Cargo.lock README.md LICENSE ./
735735
COPY src/ ./src
736736
737737
RUN --mount=type=cache,target=/app/target/ \

0 commit comments

Comments
 (0)