Skip to content

Commit

Permalink
chore: switch to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
pikdum committed Aug 20, 2024
1 parent b9b05c1 commit 5d5910d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM python:3.12-slim
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN uv pip install --system --no-cache-dir -r requirements.txt
COPY . .
ENV UVICORN_PORT=8080
ENV UVICORN_HOST=0.0.0.0
Expand Down

0 comments on commit 5d5910d

Please sign in to comment.