Created
September 19, 2017 13:58
-
-
Save phedoreanu/a41e13498d91717963e2690885580e84 to your computer and use it in GitHub Desktop.
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
CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo | |
# Dockerfile | |
FROM scratch | |
#ADD ca-certificates.crt /etc/ssl/certs | |
ADD app / # add binary | |
ENV LISTEN_PORT 7905 | |
ENTRYPOINT [ "/app" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment