diff --git a/examples/nfs/exporter/Dockerfile b/examples/nfs/exporter/Dockerfile index 3cad57d8579c8..68755ed44b125 100644 --- a/examples/nfs/exporter/Dockerfile +++ b/examples/nfs/exporter/Dockerfile @@ -2,6 +2,10 @@ FROM fedora:21 MAINTAINER Jan Safranek EXPOSE 2049/tcp -RUN yum -y install nfs-utils && yum clean all && run_nfs /usr/local/bin/run_nfs +RUN yum -y install nfs-utils && yum clean all -ENTRYPOINT ["/usr/local/bin/run_nfs"] \ No newline at end of file +ADD run_nfs /usr/local/bin/ + +RUN chmod +x /usr/local/bin/run_nfs + +ENTRYPOINT ["/usr/local/bin/run_nfs"]