Skip to content

Commit

Permalink
fix: add missing assets folder in docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Nov 21, 2018
1 parent 05026b7 commit 7187ef2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.git/
Dockerfile
*~
*#
.#*
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ RUN GOPROXY=http://goproxy.berty.io:3000/ GO111MODULE=on go get .
COPY . .
RUN make install


# runtime
FROM alpine
WORKDIR /tmp
RUN apk add --no-cache ca-certificates
COPY --from=builder /go/bin/berty-release /bin/
COPY --from=builder /go/src/github.com/berty/staff/tools/release/assets /tmp/assets
EXPOSE $PORT
ENTRYPOINT ["berty-release"]
1 change: 0 additions & 1 deletion server/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ func (s *Server) ListReleaseIOSJson(c echo.Context) error {
break
}
}

}
return c.JSON(http.StatusOK, ret)
}
Expand Down

0 comments on commit 7187ef2

Please sign in to comment.