Skip to content

Instantly share code, notes, and snippets.

@j5ik2o
Created May 26, 2015 05:00
Show Gist options
  • Select an option

  • Save j5ik2o/da139d313cd6c52ddfdc to your computer and use it in GitHub Desktop.

Select an option

Save j5ik2o/da139d313cd6c52ddfdc to your computer and use it in GitHub Desktop.
ebBundleTargetFiles in aws <<= Def.task {
val base = baseDirectory.value
val packageJarFile = (packageBin in Compile).value
Seq(
(base / "Dockerfile", "Dockerfile"),
(base / "Dockerrun.aws.json", "Dockerrun.aws.json"),
(packageJarFile, packageJarFile.name)
)
}
ebS3BucketName in aws := "sbt-aws-eb"
ebS3CreateBucket in aws := true // if necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment