dumb/Dockerfile
ngn 7cea387f02
Some checks failed
Build and publish the docker image / build (push) Failing after 1m8s
general cleanup
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-19 12:29:05 +03:00

17 lines
237 B
Docker

FROM golang:1.23.4 AS build
RUN go install github.com/a-h/templ/cmd/templ@latest
WORKDIR /code
COPY go.mod ./
COPY go.sum ./
RUN go mod download
RUN make CGO_ENABLED=0
FROM alpine:3.21
COPY --from=build /code/dumb .
CMD ["./dumb"]