1

Right now, whenever I execute the sbt docker command of the sbt-docker plugin within my project, it generates the artifacts (dockerfile and jars) under the [app-route]/target/docker/ folder.

Is there a way to change that "default" route, so It can generate the artifacts elsewhere? Let's say, in [app-route]/docker instead?

maya.js
  • 1,147
  • 12
  • 25

1 Answers1

0

You can change the staging directory by setting target in docker, for example target in docker := "docker".

Thanks to the creator of the sbt-docker plugin that answered the question here.

maya.js
  • 1,147
  • 12
  • 25