https://github.com/kubeflow/katib
Raw File
Tip revision: e55bd9e78cec03cd29fbe57ec7c8f6deb0fa01b0 authored by sperlingxx on 17 August 2020, 03:18:28 UTC
remove dist files
Tip revision: e55bd9e
Dockerfile
FROM pytorch/pytorch:1.0-cuda10.0-cudnn7-runtime

RUN mkdir -p /katib /opt/mnist/src

WORKDIR /opt/mnist/src
ADD mnist.py /opt/mnist/src

RUN chgrp -R 0 /opt/mnist \
  && chmod -R g+rwX /opt/mnist \
  && chgrp -R 0 /katib \
  && chmod -R g+rwX /katib

ENTRYPOINT ["python", "/opt/mnist/src/mnist.py"]
back to top