10 lines
236 B
Docker
10 lines
236 B
Docker
|
|
FROM alpine:3.20 as builder
|
||
|
|
RUN apk add --no-cache gcc musl-dev make
|
||
|
|
WORKDIR /build
|
||
|
|
COPY . .
|
||
|
|
RUN make release
|
||
|
|
FROM alpine:3.20
|
||
|
|
RUN apk add --no-cache pcre openssl
|
||
|
|
COPY --from=builder /build/bin/app /usr/local/bin/app
|
||
|
|
ENTRYPOINT ["app"]
|