Dockerfile.engine 583 B

1234567891011121314151617181920212223
  1. FROM python:3.5-alpine
  2. LABEL maintainer="ahkui <ahkui@outlook.com>"
  3. USER root
  4. RUN apk add --no-cache build-base zeromq-dev
  5. RUN python -m pip --quiet --no-cache-dir install \
  6. ipyparallel \
  7. numpy \
  8. pandas \
  9. pymongo \
  10. redis \
  11. requests \
  12. bs4
  13. RUN ipython profile create --parallel --profile=default
  14. COPY ipcontroller-client.json /root/.ipython/profile_default/security/ipcontroller-client.json
  15. COPY ipcontroller-engine.json /root/.ipython/profile_default/security/ipcontroller-engine.json
  16. CMD ["sh","-c","ipcluster engines"]