Dockerfile.controller 493 B

1234567891011121314151617
  1. FROM python:3.8-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. RUN ipython profile create --parallel --profile=default
  8. COPY ipcontroller-client.json /root/.ipython/profile_default/security/ipcontroller-client.json
  9. COPY ipcontroller-engine.json /root/.ipython/profile_default/security/ipcontroller-engine.json
  10. CMD ["sh","-c","ipcontroller --ip=* --reuse"]