medichaid/docker_svc/agent/Dockerfile

15 lines
274 B
Text
Raw Normal View History

2025-07-10 01:43:01 +02:00
FROM python:3.11-alpine
WORKDIR /app
COPY requirements.txt .
RUN apk add --no-cache build-base \
&& pip install --no-cache-dir -r requirements.txt \
&& apk del build-base
COPY app .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]