File size: 454 Bytes
8688974
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.9-slim-bullseye

RUN apt-get update
RUN apt-get install git ffmpeg libsm6 libxext6 wget -y

# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt 
RUN pip install gsutil

# Create working directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Copy contents
COPY . /usr/src/app

ENTRYPOINT ["python3", "/usr/src/app/detect.py", "--weights", "weights/yolov5x_anime.pt", "--source", "/in", "--output", "/out"]