2021-04-07 23:33:15 +08:00
|
|
|
FROM python:3.8-alpine
|
2018-07-13 11:33:41 +08:00
|
|
|
|
|
|
|
LABEL maintainer="ahkui <ahkui@outlook.com>"
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
2019-03-01 12:16:08 +08:00
|
|
|
RUN apk add --no-cache build-base zeromq-dev
|
2018-07-13 11:33:41 +08:00
|
|
|
|
|
|
|
RUN python -m pip --quiet --no-cache-dir install \
|
|
|
|
ipyparallel
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-03-01 12:16:08 +08:00
|
|
|
CMD ["sh","-c","ipcontroller --ip=* --reuse"]
|