mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-08 14:53:59 +00:00
🐳 Update Dockerfile
This commit is contained in:
parent
1808865358
commit
985fc6200d
@ -7,13 +7,11 @@ RUN go mod download
|
||||
COPY . .
|
||||
|
||||
RUN go build -ldflags "-s -w" -o dodo
|
||||
RUN echo "{}" > config.json
|
||||
|
||||
FROM gcr.io/distroless/static-debian12:latest
|
||||
|
||||
WORKDIR /
|
||||
|
||||
COPY --from=builder /src/dodo /dodo
|
||||
COPY --from=builder /src/config.json /config.json
|
||||
|
||||
ENTRYPOINT ["./dodo"]
|
Loading…
x
Reference in New Issue
Block a user