mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
8 lines
No EOL
362 B
Docker
8 lines
No EOL
362 B
Docker
FROM python:3.11-slim
|
|
RUN apt-get update && apt-get install -y --no-install-recommends curl build-essential g++ && rm -rf /var/lib/apt/lists/*
|
|
COPY . /app
|
|
WORKDIR /app
|
|
RUN pip install -e .[proxy]
|
|
EXPOSE 8787
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD curl -f http://localhost:8787/health || exit 1
|
|
ENTRYPOINT ["headroom", "proxy"] |