Remove mention of uv.lock

This commit is contained in:
2024-12-22 05:37:19 +01:00
parent 6258277d60
commit cd7f29e9a7

View File

@ -7,12 +7,11 @@ WORKDIR /app
# Install dependencies # Install dependencies
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --frozen --no-install-project uv sync --frozen --no-install-project
# Copy the project into the image # Copy the project into the image
ADD main.py misc.py pyproject.toml uv.lock /app/ ADD main.py misc.py pyproject.toml /app/
# Sync the project # Sync the project
RUN --mount=type=cache,target=/root/.cache/uv \ RUN --mount=type=cache,target=/root/.cache/uv \