File size: 535 Bytes
507b8e0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c9093a6
 
 
 
d3d6c51
48f36c6
a3df46f
 
507b8e0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"]