Preview:
FROM golang:alpine as builder

label "maintainer"="amirabbasmehvari@gmail.com"
RUN mkdir /app
WORKDIR /app/
COPY . /app/
RUN go build -o main .

FROM alpine
COPY --from=builder /app/main /app/
WORKDIR /app/
CMD ["./main"]
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter