davanstrien HF Staff commited on
Commit
145d306
·
1 Parent(s): e2f827f

Update Dockerfile to use uv:bookworm-slim base image and use uv pip command

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- FROM python:3.13-slim
2
-
3
  # Set proper terminal environment for Textual
4
  ENV TERM=xterm-256color
5
  ENV COLORTERM=truecolor
@@ -19,7 +19,7 @@ WORKDIR /app
19
 
20
  # Copy requirements and install Python dependencies
21
  COPY requirements.txt .
22
- RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application files
25
  COPY serve.py .
 
1
+ # FROM python:3.13-slim
2
+ FROM ghcr.io/astral-sh/uv:bookworm-slim
3
  # Set proper terminal environment for Textual
4
  ENV TERM=xterm-256color
5
  ENV COLORTERM=truecolor
 
19
 
20
  # Copy requirements and install Python dependencies
21
  COPY requirements.txt .
22
+ RUN uv pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application files
25
  COPY serve.py .