scriptsledge commited on
Commit
37e292f
·
verified ·
1 Parent(s): 11f2db1

fix: install libgomp1 runtime dependency for OpenMP support in final Docker stage

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -30,6 +30,11 @@ RUN uv venv /app/.venv && \
30
  FROM python:3.10-slim-bookworm
31
  WORKDIR /app
32
 
 
 
 
 
 
33
  # Copy the virtual environment from the builder stage
34
  COPY --from=builder /app/.venv /app/.venv
35
 
 
30
  FROM python:3.10-slim-bookworm
31
  WORKDIR /app
32
 
33
+ # Install runtime dependencies (OpenMP support for llama.cpp)
34
+ RUN apt-get update && apt-get install -y \
35
+ libgomp1 \
36
+ && rm -rf /var/lib/apt/lists/*
37
+
38
  # Copy the virtual environment from the builder stage
39
  COPY --from=builder /app/.venv /app/.venv
40