Last active
December 29, 2021 21:45
-
-
Save Harsimran1/67199188cf1caaac212f163c063481e7 to your computer and use it in GitHub Desktop.
Commented Dockerfile
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:1.16-alpine | |
WORKDIR /app | |
RUN apk add --no-cache ca-certificates git openssl | |
RUN go env -w GOPRIVATE=github.com/org-name/levven-go | |
RUN go env -w GO111MODULE="" | |
ARG GITHUB_TOKEN | |
RUN git config --global url."https://${GITHUB_TOKEN}:[email protected]".insteadOf "https://github.com" | |
COPY . . | |
# RUN go build -o ./bin cmd/app-name/main.go | |
# EXPOSE 8080 | |
# CMD [ "./bin" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment