Something went wrong. Try again.
A test repo for my knot
Something went wrong. Try again.
knot-testing Dockerfile
264 B · 19 lines
Dockerfile
at main
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"]