Last active
October 27, 2020 08:48
-
-
Save shashank404error/9806fb4d6cb0f89256e60d402310c8f9 to your computer and use it in GitHub Desktop.
Revisions
-
shashank404error revised this gist
Oct 27, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ FROM golang:latest LABEL maintainer="your name <[email protected]>" WORKDIR /app COPY go.mod ./ RUN go mod download -
shashank404error created this gist
Oct 27, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ FROM golang:latest LABEL maintainer="Shashank P. Sharma <[email protected]>" WORKDIR /app COPY go.mod ./ RUN go mod download COPY . . RUN go build -o demo EXPOSE 80 CMD ["./demo"]