minio/Dockerfile.dev

21 lines
377 B
Docker

FROM minio/minio
LABEL maintainer="MinIO Inc <dev@min.io>"
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"]