build: add curl to ep image (#4456)

Add curl to ep image
This commit is contained in:
Jordan Frazier 2024-11-07 12:29:26 -08:00 committed by GitHub
commit 18d08413ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,6 +67,9 @@ FROM python:3.12.3-slim AS runtime
RUN useradd user -u 1000 -g 0 --no-create-home --home-dir /app/data
COPY --from=builder --chown=1000 /app/.venv /app/.venv
# curl is required for langflow health checks
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Place executables in the environment at the front of the path
ENV PATH="/app/.venv/bin:$PATH"