FROM minio/minio LABEL maintainer="MinIO Inc " ENV PATH=/opt/bin:$PATH COPY minio /opt/bin COPY dockerscripts/docker-entrypoint.sh /usr/bin/ RUN mkdir -p /opt/bin && chmod -R 777 /opt/bin && \ chmod +x /opt/bin/minio && \ chmod +x /usr/bin/docker-entrypoint.sh EXPOSE 9000 ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"] VOLUME ["/data"] CMD ["minio"]