Newer
Older
DetectWhiteLinesByYOLOv5 / Dockerfile
FROM python:3.8-slim

COPY ./requirements.txt ./
RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y libgl1-mesa-dev  \
                       libglib2.0-0 && \
    pip3 install --upgrade pip setuptools && \
    pip3 install --upgrade wheel && \
    pip3 install -r requirements.txt && \
    pip3 cache purge
WORKDIR /code
ADD . /code/

CMD python3 main.py