File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 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
+
3
6
WORKDIR /roboflow-python
4
7
COPY .devcontainer/bashrc_ext /root/bashrc_ext
5
8
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 ./
7
14
COPY roboflow/__init__.py ./roboflow/__init__.py
8
- RUN pip install -e ".[dev]"
15
+ RUN uv pip install --system -e ".[dev]"
16
+
9
17
COPY . .
You can’t perform that action at this time.
0 commit comments