mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	This exposes the /export directory, making it possible to mount it from other containers. It also makes it possible to bind a local folder to the internal /export mount point using the native Docker for Mac/Windows and Kinematic.
		
			
				
	
	
		
			20 lines
		
	
	
		
			392 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			392 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM golang:1.6-alpine
 | |
| 
 | |
| WORKDIR /go/src/app
 | |
| ENV ALLOW_CONTAINER_ROOT=1
 | |
| 
 | |
| COPY . /go/src/app
 | |
| RUN \
 | |
| 	apk add --no-cache git && \
 | |
| 	go-wrapper download && \
 | |
| 	go-wrapper install && \
 | |
| 	mkdir -p /export/docker && \
 | |
| 	cp /go/src/app/docs/Docker.md /export/docker/ && \
 | |
| 	rm -rf /go/pkg /go/src && \
 | |
| 	apk del git
 | |
| 
 | |
| EXPOSE 9000
 | |
| ENTRYPOINT ["go-wrapper", "run", "server"]
 | |
| VOLUME ["/export"]
 | |
| CMD ["/export"]
 |