From c4672a0fe94463ab8360d3aee5c36a7a52eea919 Mon Sep 17 00:00:00 2001 From: Athroniaeth <76869761+Athroniaeth@users.noreply.github.com> Date: Mon, 18 Nov 2024 03:08:53 +0100 Subject: [PATCH] Update Dockerfile example, need to COPY README.md and pyproject.toml 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). --- docs/guide/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/docker.md b/docs/guide/docker.md index 3f1a8447b8..f2edb9a50e 100644 --- a/docs/guide/docker.md +++ b/docs/guide/docker.md @@ -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 .