initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user