Last active
June 17, 2019 13:35
-
-
Save karlisabele/e3f9cfb83291768dc325778cf58d82ae 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
FROM nixpkgs/nix as build | |
// Do your building stuff here | |
// Lets assume your file is located in /build directory | |
FROM alpine | |
COPY --from=build /build /app | |
ENTRYPOINT ["/app/my-binary"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment