Trampas_Barcelo / Dockerfile
fcernafukuzaki's picture
Update Dockerfile
f2ea4fa verified
raw
history blame
480 Bytes
FROM python:3.9
WORKDIR /content
# Instala wget
RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y libgl1-mesa-glx
RUN git clone https://github.com/SkalskiP/yolov9.git
RUN chmod -R 777 yolov9
WORKDIR /content/yolov9
RUN pip install -r requirements.txt -q
COPY ./requirements.txt /content/yolov9/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /content/yolov9/requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]