Spaces:
Build error
Build error
File size: 651 Bytes
507b8e0 f8fd965 507b8e0 f8fd965 507b8e0 4dc6094 507b8e0 4dc6094 c9093a6 f8fd965 c9093a6 f8fd965 48f36c6 a3df46f 4dc6094 aabbf7d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
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"] |