mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
23 lines
374 B
Docker
23 lines
374 B
Docker
FROM minio/minio
|
|
|
|
LABEL maintainer="MinIO Inc <dev@min.io>"
|
|
|
|
ENV PATH=/opt/bin:$PATH
|
|
|
|
RUN mkdir -p /opt/bin && chmod -R 777 /opt/bin
|
|
|
|
COPY minio /opt/bin
|
|
|
|
COPY dockerscripts/docker-entrypoint.sh /usr/bin/
|
|
|
|
RUN chmod +x /opt/bin/minio && \
|
|
chmod +x /usr/bin/docker-entrypoint.sh
|
|
|
|
EXPOSE 9000
|
|
|
|
ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
|
|
|
|
VOLUME ["/data"]
|
|
|
|
CMD ["minio"]
|