FROM docker:latest EXPOSE 8888 EXPOSE 80 EXPOSE 4443 EXPOSE 443 COPY ./swarm-init.sh /swarm-init.sh COPY ./keep-alive.sh /keep-alive.sh CMD ["/bin/sh", "/swarm-init.sh"]