docker/dev/worker_py3.8/Dockerfile
FROM python:3.8.10
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements/* /code/
RUN pip install -r dev.txt
RUN apt-get update && \
apt-get --no-install-recommends install -q -y default-jre default-jdk \
git cmake libeigen3-dev libboost-python-dev libopencv-dev python3-opencv \
libgmp-dev libcgal-qt5-dev swig && \
rm -rf /var/lib/apt/lists/*
RUN pip install -U cffi service_identity cython==0.29 numpy==1.14.5
RUN pip install -r worker.txt
ADD . /code
CMD ["./docker/wait-for-it.sh", "django:8000", "--", "python", "-m", "scripts.workers.submission_worker"]