Created
August 1, 2021 08:42
-
-
Save IronCore864/93f24a37e14e02d21842220aff1c73e1 to your computer and use it in GitHub Desktop.
Dockerfile Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:alpine | |
WORKDIR /app | |
COPY . . | |
RUN apk add git | |
RUN go get ./... && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment