Skip to content

Commit

Permalink
Merge pull request #94 from covalenthq/dockerfile_upgrades
Browse files Browse the repository at this point in the history
upgrading alpine image version to latest stable 3.19
  • Loading branch information
rogarcia authored Dec 12, 2023
2 parents df9aec0 + 1b6c32d commit cdbe229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ COPY . .
RUN go mod download && CGO_ENABLED=0 GOOS=linux go build -a -ldflags="-s -w" -o ipfs-server ./server/main.go

# Runtime - second phase.
FROM alpine:3.18.3
FROM alpine:3.19
RUN mkdir /app
WORKDIR /app
RUN apk update && apk add --no-cache bash=5.2.15-r5
RUN apk update && apk add --no-cache bash=5.2.21-r0
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

0 comments on commit cdbe229

Please sign in to comment.