FROM mongo:4.0 CMD ["/run.sh"] COPY mongo-healthcheck.sh /mongo-healthcheck.sh COPY run.sh /run.sh RUN chmod +x /mongo-healthcheck.sh \ && chmod +x /run.sh