Skip to content

Commit ae5de70

Browse files
authored
Merge pull request #382 from roboflow/tony/upgrade-dev-python
Upgrade devcontainer
2 parents a3744d1 + db644b7 commit ae5de70

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Dockerfile.dev

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
FROM python:3.8
2-
RUN apt-get update && apt-get install -y make libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
1+
FROM python:3.10
2+
RUN apt-get update && apt-get install -y make curl libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
3+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
4+
ENV PATH="/root/.local/bin:${PATH}"
5+
36
WORKDIR /roboflow-python
47
COPY .devcontainer/bashrc_ext /root/bashrc_ext
58
RUN echo "source /root/bashrc_ext" >> ~/.bashrc
6-
COPY ./setup.py ./pyproject.toml ./README.md ./requirements.txt ./
9+
10+
COPY ./requirements.txt ./
11+
RUN uv pip install --system -r requirements.txt
12+
13+
COPY ./setup.py ./pyproject.toml ./README.md ./
714
COPY roboflow/__init__.py ./roboflow/__init__.py
8-
RUN pip install -e ".[dev]"
15+
RUN uv pip install --system -e ".[dev]"
16+
917
COPY . .

0 commit comments

Comments
 (0)