File: Dockerfile

package info (click to toggle)
willow 1.11.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,952 kB
  • sloc: xml: 20,346; python: 3,969; makefile: 153; sh: 11
file content (9 lines) | stat: -rw-r--r-- 333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# This Dockerfile is used to easily run the OpenCV tests without having to install OpenCV on the host machine.
FROM python:3.13-slim-bookworm
RUN apt update && apt install -y imagemagick
RUN pip install opencv-python-headless

WORKDIR /code
COPY . ./
RUN pip install -e .[testing]
CMD [ "python", "./runtests.py", "-v", "--opencv" ]