From cc8cc8feb607c9d1e7dcd4c8d51ba6ad88e29de0 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 9 Feb 2024 11:42:24 +0800 Subject: [PATCH] chore: update dockerfile --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0193390de..7e27763b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,17 @@ FROM golang:1.21-alpine as builder -RUN apk update && apk add --no-cache --update gcc musl-dev linux-headers git make build-base ca-certificates +RUN apk update && apk add --no-cache --update gcc musl-dev linux-headers git make build-base WORKDIR /taiko-client COPY . . RUN make build -# FROM alpine:latest +FROM alpine:latest -# RUN apk add --no-cache ca-certificates +RUN apk add --no-cache ca-certificates libstdc++ -# COPY --from=builder /taiko-client/bin/taiko-client /usr/local/bin/ +COPY --from=builder /taiko-client/bin/taiko-client /usr/local/bin/ EXPOSE 6060 -ENTRYPOINT ["/taiko-client/bin/taiko-client"] +ENTRYPOINT ["taiko-client"]