Files
ia-gondola-engine/gondola-motor-ia-main/Dockerfile
T
2026-05-19 15:57:48 -03:00

8 lines
295 B
Docker

FROM python:3.10-slim
WORKDIR /app
# Instalamos as bibliotecas básicas para o YOLO
RUN apt-get update && apt-get install -y libgl1 libglib2.0-0
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]