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