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

master
Harshavardhana 8 years ago committed by Anand Babu (AB) Periasamy
parent eb1bc67db1
commit bf3c93a8cc
  1. 3
      Dockerfile
  2. 2
      main.go

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

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

Loading…
Cancel
Save