Skip to content

Commit a75d068

Browse files
committed
switch to uv
1 parent 83e0e49 commit a75d068

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# https://github.com/microsoft/vscode-dev-containers/blob/main/containers/python-3/README.md
22
ARG VARIANT=3.13-bookworm
33
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
4+
RUN pip install --upgrade pip && pip install uv
5+
COPY pyproject.toml uv.lock ./
6+
RUN uv sync --frozen \
7+
&& pipx install pre-commit ruff

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)