Something went wrong. Try again.
A test repo for my knot forked from willdot.net/knot-testing
Something went wrong. Try again.
knot-testing-fork Dockerfile
264 B · 19 lines
Dockerfile
at test
1234567891011121314151617181920FROM golang:alpine AS builder
WORKDIR /app
COPY . .RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o test-app .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
WORKDIR /app/COPY --from=builder /app/test-app .
ENTRYPOINT ["./test-app"]