FROM ultralytics/ultralytics:latest | |
WORKDIR /usr/src/ultralytics/ | |
COPY ./requirements.txt . | |
RUN python3 -m pip install -r requirements.txt | |
COPY ./app.py . | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |
FROM ultralytics/ultralytics:latest | |
WORKDIR /usr/src/ultralytics/ | |
COPY ./requirements.txt . | |
RUN python3 -m pip install -r requirements.txt | |
COPY ./app.py . | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |