Files
AI-upflux-docprocessor/code/dockerfile
2026-03-12 15:02:26 -03:00

17 lines
376 B
Plaintext

FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install curl for health checks
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
COPY app.py .
COPY utils/ ./utils/
COPY services/ ./services/
EXPOSE 8000
CMD ["python", "-m", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]