Skip to content

Commit

Permalink
fix: dockerfile (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKetmo authored Oct 11, 2023
1 parent 54b1f4a commit 15c3462
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apk upgrade && apk add --no-cache bash curl
RUN addgroup -g 1001 app
RUN adduser -D -G app -u 1001 app

COPY --from=builder /go/src/app/build/cosmos-validator-watcher /
COPY --from=builder /go/src/app/build/near-validator-watcher /

WORKDIR /
ENTRYPOINT ["/near-validator-watcher"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kilnfi/near-validator-watcher

go 1.18
go 1.20

require (
github.com/avast/retry-go/v4 v4.5.0
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"

"github.com/kilnfi/near-validator-watcher/pkg/app"
"github.com/rs/zerolog/log"
"github.com/sirupsen/logrus"
"github.com/urfave/cli/v2"
)

Expand All @@ -22,6 +22,6 @@ func main() {
}

if err := app.Run(os.Args); err != nil && !errors.Is(err, context.Canceled) {
log.Error().Err(err).Msg("")
logrus.WithError(err).Fatal("application failed")
}
}

0 comments on commit 15c3462

Please sign in to comment.