PragmaLens-AI / Dockerfile
jamalinu's picture
Update Dockerfile
ef76b6b verified
Raw
History Blame Contribute Delete
311 Bytes
FROM python:3.10-slim
WORKDIR /code
# Instalar dependencias necesarias para PDF y el servidor
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Usamos Uvicorn directamente en lugar de Gunicorn
EXPOSE 7860
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]