https://github.com/opencv/cvat
Raw File
Tip revision: 38bb2a1c25b229fc68f2efbb11529440eb7ca757 authored by Irina Kovaleva on 04 April 2022, 14:34:55 UTC
CVAT server REST API tests: POST and GET project
Tip revision: 38bb2a1
Dockerfile.ci
FROM openvino/cvat_server

ENV DJANGO_CONFIGURATION=testing
USER root

RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends install -yq \
        gpg-agent \
        gnupg2 \
        apt-utils \
        build-essential \
        python3-dev \
        ruby \
        && \
    curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
    echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | tee /etc/apt/sources.list.d/google-chrome.list && \
    curl https://deb.nodesource.com/setup_16.x | bash - && \
    DEBIAN_FRONTEND=noninteractive apt-get --no-install-recommends install -yq \
        google-chrome-stable \
        nodejs \
        && \
    rm -rf /var/lib/apt/lists/*;

COPY cvat/requirements/ /tmp/requirements/

RUN DATUMARO_HEADLESS=1 python3 -m pip install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt && \
    python3 -m pip install --no-cache-dir coveralls
RUN gem install coveralls-lcov

COPY utils ${HOME}/utils
COPY cvat-core ${HOME}/cvat-core
COPY cvat-data ${HOME}/cvat-data
COPY tests ${HOME}/tests

COPY .coveragerc .

ENTRYPOINT []
back to top