Skip to content

Commit

Permalink
fix docker entrypoint (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana authored Mar 8, 2020
1 parent bd5cc3d commit 058380d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ FROM scratch
MAINTAINER MinIO Development "dev@min.io"
EXPOSE 7761

COPY --from=0 /go/src/github.com/minio/warp/warp .
COPY --from=0 /go/src/github.com/minio/warp/warp /warp

CMD ["/warp"]
ENTRYPOINT ["/warp"]
5 changes: 3 additions & 2 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM scratch
MAINTAINER MinIO Development "dev@min.io"
EXPOSE 7761
COPY warp /
CMD ["/warp"]
COPY warp /warp

ENTRYPOINT ["/warp"]

0 comments on commit 058380d

Please sign in to comment.