dumb/Dockerfile
ngn e9dfb890dc
Some checks failed
Build and publish the docker image / build (push) Failing after 46s
make sure to copy the source to the container
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-19 12:32:02 +03:00

18 lines
246 B
Docker

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