We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36ec584 commit cc08511Copy full SHA for cc08511
{{cookiecutter.project_name}}/Dockerfile
@@ -6,16 +6,16 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
6
WORKDIR /app
7
8
# Copy the lockfile and `pyproject.toml` into the image
9
-ADD uv.lock /app/uv.lock
10
-ADD pyproject.toml /app/pyproject.toml
+COPY uv.lock /app/uv.lock
+COPY pyproject.toml /app/pyproject.toml
11
12
# Install dependencies
13
RUN uv sync --frozen --no-install-project
14
15
# Copy the project into the image
16
-ADD . /app
+COPY . /app
17
18
# Sync the project
19
RUN uv sync --frozen
20
21
-CMD [ "python", "{{cookiecutter.project_slug}}/foo.py"]
+CMD [ "python", "{{cookiecutter.project_slug}}/foo.py" ]
0 commit comments