mirror of
https://github.com/tiennm99/keepalive.git
synced 2026-10-15 12:14:27 +00:00
refactor: rename project to keepalive
This commit is contained in:
1 parent
2d16bb5ca6
commit
f5218ea327
5 files changed
+19
-17
No files matched your search
+3
-3
@@ -3,9 +3,9 @@ WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /out/db-keepalive .
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /out/keepalive .
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:nonroot
|
||||
COPY --from=build /out/db-keepalive /db-keepalive
|
||||
COPY --from=build /out/keepalive /keepalive
|
||||
USER nonroot:nonroot
|
||||
ENTRYPOINT ["/db-keepalive"]
|
||||
ENTRYPOINT ["/keepalive"]
|
||||
Reference in new issue
Block a user