zikaYOLOv8 / Dockerfile
fcernafukuzaki's picture
Update Dockerfile
d3d6c51 verified
raw
history blame
535 Bytes
FROM python:3.9
WORKDIR /content
# Instala wget
RUN apt-get update && apt-get install -y git
RUN git clone https://github.com/SkalskiP/yolov9.git
WORKDIR /content/yolov9
RUN pip install -r requirements.txt -q
WORKDIR /content
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN chmod -R 777 /content
COPY . .
ENTRYPOINT ["python", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]