Skip to content

Commit

Permalink
fix: use chainguard image
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jul 3, 2024
1 parent 4f6fefa commit d054d08
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
FROM golang:alpine as build

RUN apk --no-cache add ca-certificates

WORKDIR /go/src/app

FROM scratch
FROM cgr.dev/chainguard/static:latest

WORKDIR /

COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY typhoon-web /main

ENTRYPOINT ["/main"]

0 comments on commit d054d08

Please sign in to comment.