Fix embedding Dockerfile by removing unnecessary build dependencies

This commit is contained in:
Jarian Cottingham 2026-02-02 01:28:26 -06:00
parent 1dd9337c39
commit dfa729f204

View File

@ -2,12 +2,6 @@ FROM python:3.11-slim
WORKDIR /app WORKDIR /app
# Install system dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching # Copy requirements first for better caching
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt