Closed joesan closed 2 years ago
@joesan Did you add this .enablePlugins(UniversalPlugin)
or that .enablePlugins(JavaAppPackaging)
somewhere in your build.sbt
file?
I solved it. The problem was that I was specifying the mapping outside of .settings(......). As soon as I had it added inside the .settings(......), it kind of worked.
Expected behaviour
Adding a file under a folder location gets added to the Docker destination directory:
Universal / mappings += (file("data/housing.tgz"), "/opt/docker/data/housing.tgz")
Actual behaviour
Information
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9")