Cloud-CV/EvalAI

View on GitHub
docker/dev/code-upload-worker/Dockerfile

Summary

Maintainability
Test Coverage
FROM python:3.7.5

ENV PYTHONUNBUFFERED 1

RUN mkdir /code
WORKDIR /code

RUN apt-get update && \
  apt-get install --no-install-recommends -y unzip && \
  rm -rf /var/lib/apt/lists/*

ADD requirements/* /code/

RUN pip install -r code_upload_worker.txt

ADD . /code

RUN chmod +x scripts/workers/code_upload_worker_utils/install_dependencies.sh

CMD ["scripts/workers/code_upload_worker_utils/install_dependencies.sh"]