Last active
April 8, 2017 21:56
-
-
Save jeremytregunna/6fc6d7fabf32a80fedb4c56d4c2db499 to your computer and use it in GitHub Desktop.
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
| mappings in Universal ++= contentOf("data") | |
| dockerfile in docker := { | |
| val appDir: File = stage.value | |
| val targetDir = "/app" | |
| new Dockerfile { | |
| from("openjdk:latest") | |
| entryPoint(s"$targetDir/bin/${executableScriptName.value}") | |
| copy(appDir, targetDir) | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
datadir contains some other subdirs and files. this is a non-functioning subset of build.sbt in which the app can't find those files once it's container is running.