Skip to content

Commit

Permalink
Fix docker file to use binary endpoint. (minio#3180)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored and abperiasamy committed Nov 5, 2016
1 parent eb1bc67 commit bf3c93a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -13,5 +14,5 @@ RUN \
apk del git

EXPOSE 9000
ENTRYPOINT ["go-wrapper", "run"]
ENTRYPOINT ["minio"]
VOLUME ["/export"]
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package main
package main // import "github.com/minio/minio"

import minio "github.com/minio/minio/cmd"

Expand Down

0 comments on commit bf3c93a

Please sign in to comment.