Skip to content

Commit

Permalink
Merge pull request #66 from covalenthq/develop
Browse files Browse the repository at this point in the history
IPFS-Pinner-DTM-RC:v0.1.14
  • Loading branch information
noslav authored Jun 9, 2023
2 parents fc8bd05 + de1c40e commit 33923c8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 286 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build - first phase
FROM golang:1.18-alpine as builder
FROM golang:1.19-alpine as builder
RUN mkdir /build
WORKDIR /build
COPY . .
Expand All @@ -10,9 +10,7 @@ FROM alpine:3.15.7
RUN mkdir /app
WORKDIR /app
RUN apk update && apk add --no-cache bash=5.1.16-r0
COPY --from=builder /build/ipfs-server /app
SHELL ["/bin/bash", "-c"]
RUN chmod +x ./ipfs-server
COPY --from=builder --chmod=700 /build/ipfs-server /app

HEALTHCHECK --interval=10s --timeout=5s CMD wget --no-verbose --tries=1 --spider localhost:3001/health

Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/covalenthq/ipfs-pinner

go 1.17
go 1.19

require (
github.com/ipfs/go-block-format v0.1.2
Expand All @@ -16,7 +16,7 @@ require (
github.com/multiformats/go-multibase v0.2.0
github.com/pkg/errors v0.9.1
github.com/ybbus/httpretry v1.0.2
golang.org/x/oauth2 v0.6.0
golang.org/x/oauth2 v0.8.0
)

require (
Expand Down Expand Up @@ -202,10 +202,10 @@ require (
golang.org/x/crypto v0.3.0 // indirect
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
Expand Down
Loading

0 comments on commit 33923c8

Please sign in to comment.