You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With how frustrating it was upgrading to Django 4.2 with pipenv's vague error messages, I am more tempted than ever to migrate to uv. The speedup of our image builds would also benefit.
The text was updated successfully, but these errors were encountered:
cookiecutter-uv can offer some good guidance, in particular this is their Dockerfile:
# Install uvFROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
# Change the working directory to the `app` directoryWORKDIR /app
# Copy the lockfile and `pyproject.toml` into the imageADD uv.lock /app/uv.lock
ADD pyproject.toml /app/pyproject.toml
# Install dependenciesRUN uv sync --frozen --no-install-project
# Copy the project into the imageADD . /app
# Sync the projectRUN uv sync --frozen
CMD [ "python", "example_project/foo.py"]
With how frustrating it was upgrading to Django 4.2 with pipenv's vague error messages, I am more tempted than ever to migrate to
uv
. The speedup of our image builds would also benefit.The text was updated successfully, but these errors were encountered: