Skip to content

Commit

Permalink
install uv via pip
Browse files Browse the repository at this point in the history
  • Loading branch information
FloSch62 committed Jan 12, 2025
1 parent d031585 commit 744b19a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
venv/*
__pycache__
test/*
launch.json

uv.lock
launch.json
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ FROM python:3.11-slim
# Install build tools and curl
RUN apt-get update && apt-get install -y build-essential python3-dev curl

# Install uv and make it available in PATH
RUN mkdir -p /root/.local/bin && \
curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:${PATH}"
# Install uv
RUN pip install uv

# Set up working directory
WORKDIR /app
Expand All @@ -22,7 +20,7 @@ COPY core/ ./core/
COPY cli/ ./cli/

# Install dependencies using uv
RUN /root/.local/bin/uv pip sync --system pyproject.toml
RUN uv pip sync --system pyproject.toml

# Make the entrypoint script executable
RUN chmod +x /app/entrypoint.sh
Expand Down

0 comments on commit 744b19a

Please sign in to comment.