• File: Dockerfile.engine
  • Full Path: /var/www/laradock/laradock/ipython/Dockerfile.engine
  • Date Modified: 01/12/2022 3:50 PM
  • File size: 606 bytes
  • MIME-type: text/plain
  • Charset: utf-8
FROM python:3.5-alpine

LABEL maintainer="ahkui <ahkui@outlook.com>"

USER root

RUN apk add --no-cache build-base zeromq-dev

RUN python -m pip --quiet --no-cache-dir install \
        ipyparallel \
        numpy \
        pandas \
        pymongo \
        redis \
        requests \
        bs4

RUN ipython profile create --parallel --profile=default

COPY ipcontroller-client.json /root/.ipython/profile_default/security/ipcontroller-client.json
COPY ipcontroller-engine.json /root/.ipython/profile_default/security/ipcontroller-engine.json

CMD ["sh","-c","ipcluster engines"]