Fix docker file to use binary endpoint. (#3180)

This commit is contained in:
Harshavardhana 2016-11-04 18:25:30 -07:00 committed by Anand Babu (AB) Periasamy
parent eb1bc67db1
commit bf3c93a8cc
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ FROM golang:1.7-alpine
WORKDIR /go/src/app
COPY . /go/src/app
RUN \
apk add --no-cache git && \
go-wrapper download && \
@ -13,5 +14,5 @@ RUN \
apk del git
EXPOSE 9000
ENTRYPOINT ["go-wrapper", "run"]
ENTRYPOINT ["minio"]
VOLUME ["/export"]

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package main
package main // import "github.com/minio/minio"
import minio "github.com/minio/minio/cmd"