Skip to content

Commit

Permalink
Update Dockerfile example, need to COPY README.md and pyproject.toml
Browse files Browse the repository at this point in the history
Going back to the Dockerfile example, I saw that `uv pip install ...` required a pyproject.toml and README.md file (generated by `rye init`). You therefore need to copy them into the Dockerfile (which is not specified).
  • Loading branch information
Athroniaeth authored Nov 18, 2024
1 parent 7b8b101 commit c4672a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This guide requires some familiarity with Docker and Dockerfiles.
RUN pip install uv

WORKDIR /app
COPY requirements.lock ./
COPY README.md pyproject.toml requirements.lock ./
RUN uv pip install --no-cache --system -r requirements.lock

COPY src .
Expand Down

0 comments on commit c4672a0

Please sign in to comment.