mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-07 21:19:51 +00:00
17 lines
229 B
Plaintext
17 lines
229 B
Plaintext
FROM golang:1.22-alpine as builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ../. /app/
|
|
|
|
RUN go build -o certimate
|
|
|
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /app
|
|
|
|
COPY --from=builder /app/certimate .
|
|
|
|
ENTRYPOINT ["./certimate", "serve", "--http", "0.0.0.0:8090"]
|