Last active
September 18, 2021 05:56
-
-
Save percybolmer/fd1c7fb93c93412572dca5f6aa7660d0 to your computer and use it in GitHub Desktop.
An example DockerFile
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 characters
FROM golang:1.5 | |
LABEL maintainer="PercyBolmer@medium" | |
RUN mkdir /app | |
COPY main.go /app | |
WORKDIR /app | |
RUN go build -o helloer . | |
CMD [ "/app/helloer" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment