Skip to content

Upgrade devcontainer #382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
FROM python:3.8
RUN apt-get update && apt-get install -y make libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
FROM python:3.10
RUN apt-get update && apt-get install -y make curl libgl1-mesa-glx && rm -rf /var/lib/apt/lists/*
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"

WORKDIR /roboflow-python
COPY .devcontainer/bashrc_ext /root/bashrc_ext
RUN echo "source /root/bashrc_ext" >> ~/.bashrc
COPY ./setup.py ./pyproject.toml ./README.md ./requirements.txt ./

COPY ./requirements.txt ./
RUN uv pip install --system -r requirements.txt

COPY ./setup.py ./pyproject.toml ./README.md ./
COPY roboflow/__init__.py ./roboflow/__init__.py
RUN pip install -e ".[dev]"
RUN uv pip install --system -e ".[dev]"

COPY . .