Robys01 commited on
Commit
542acd6
·
verified ·
1 Parent(s): 9d6d4c4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -21,10 +21,13 @@ COPY requirements.txt .
21
  RUN pip install --no-cache-dir -r requirements.txt
22
 
23
  # Stage 2: Runner
24
- FROM python:3.12 AS runner
25
 
26
  WORKDIR /app
27
 
 
 
 
28
  COPY --from=builder /app/venv venv
29
 
30
  COPY app.py .
 
21
  RUN pip install --no-cache-dir -r requirements.txt
22
 
23
  # Stage 2: Runner
24
+ FROM python:3.12-slim AS runner
25
 
26
  WORKDIR /app
27
 
28
+ # Install runtime dependency: libopenblas.so.0 is provided by libopenblas-base.
29
+ RUN apt-get update && apt-get install -y libopenblas-base && rm -rf /var/lib/apt/lists/*
30
+
31
  COPY --from=builder /app/venv venv
32
 
33
  COPY app.py .