Skip to content

Commit

Permalink
Fixes Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
catusf authored Feb 1, 2025
1 parent a133cf5 commit 2532c7d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ COPY requirements.txt .
COPY pyproject.toml .
#RUN python -m pip install -r requirements.txt

COPY --from=ghcr.io/astral-sh/uv:latest/uv/uvx/bin/
# Download the latest installer
ADD https://astral.sh/uv/install.sh/uv-installer.sh

# Run the installer then remove it
RUN sh/uv-installer.sh && rm/uv-installer.sh

# Ensure the installed binary is on the `PATH`
ENV PATH="/root/.local/bin/:$PATH"

RUN uv sync && source .venv/bin/activate

Expand Down

0 comments on commit 2532c7d

Please sign in to comment.