mirror of
https://github.com/pgsty/minio.git
synced 2026-03-15 17:17:01 +01:00
update dockerfile with proper PATHs
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
FROM minio/minio:edge
|
||||
FROM minio/minio
|
||||
|
||||
LABEL maintainer="MinIO Inc <dev@min.io>"
|
||||
|
||||
COPY minio /usr/bin/
|
||||
ENV PATH=/opt/bin:$PATH
|
||||
|
||||
COPY minio /opt/bin
|
||||
COPY dockerscripts/docker-entrypoint.sh /usr/bin/
|
||||
|
||||
RUN chmod +x /usr/bin/minio && \
|
||||
RUN mkdir -p /opt/bin && chmod -R 777 /opt/bin && \
|
||||
chmod +x /opt/bin/minio && \
|
||||
chmod +x /usr/bin/docker-entrypoint.sh
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
Reference in New Issue
Block a user