···2121# Copy from the cache instead of linking since it's a mounted volume
2222ENV UV_LINK_MODE=copy
23232424-# Install the project's dependencies using the lockfile and settings
2525-COPY ./uv.lock ./pyproject.toml /app/
2626-RUN --mount=type=cache,target=/root/.cache/uv \
2727- uv sync --locked --no-install-project --no-dev
2828-2924# Define app data volume
3025VOLUME /app/data
31263227# Then, add the rest of the project source code and install it
3328COPY . /app
3434-RUN --mount=type=cache,target=/root/.cache/uv \
3535- uv sync --locked --no-dev
2929+RUN uv sync --locked --no-group dev
36303731# Place executables in the environment at the front of the path
3832ENV PATH="/app/.venv/bin:$PATH"
39334034# Set entrypoint to run the app using uv
4141-ENTRYPOINT ["uv", "run", "main.py"]
3535+ENTRYPOINT ["python", "main.py"]