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 83e0e49 commit a75d068Copy full SHA for a75d068
.devcontainer/Dockerfile
@@ -1,7 +1,7 @@
1
# https://github.com/microsoft/vscode-dev-containers/blob/main/containers/python-3/README.md
2
ARG VARIANT=3.13-bookworm
3
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
4
-COPY requirements.txt /tmp/pip-tmp/
5
-RUN python3 -m pip install --upgrade pip \
6
- && python3 -m pip install --no-cache-dir -r /tmp/pip-tmp/requirements.txt \
7
- && pipx install pre-commit ruff
+RUN pip install --upgrade pip && pip install uv
+COPY pyproject.toml uv.lock ./
+RUN uv sync --frozen \
+ && pipx install pre-commit ruff
requirements.txt
0 commit comments