diff --git a/Dockerfile b/Dockerfile index 25ef614..17066bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,14 +8,10 @@ WORKDIR /app # Install dependencies RUN --mount=type=cache,target=/root/.cache/uv \ --mount=type=bind,source=pyproject.toml,target=pyproject.toml \ - uv sync --frozen --no-install-project + uv sync --no-install-project -# Copy the project into the image -ADD main.py misc.py pyproject.toml /app/ - -# Sync the project -RUN --mount=type=cache,target=/root/.cache/uv \ - uv sync --frozen +# Copy the application files +ADD main.py misc.py /app/ # Set the environment variables ENV PYTHONUNBUFFERED=1