Working on making docker image
This commit is contained in:
11
build.sbt
11
build.sbt
@@ -3,14 +3,15 @@ import Dependencies._
|
||||
lazy val commonSettings = Seq(
|
||||
organization := "com.example",
|
||||
scalaVersion := "2.12.8",
|
||||
version := "0.1.0-SNAPSHOT",
|
||||
version := "1.0.0",
|
||||
mainClass := Some("eu.xeppaka.bot.Main")
|
||||
)
|
||||
|
||||
inThisBuild(commonSettings)
|
||||
|
||||
lazy val `telegram-bot` = (project in file("telegram-bot"))
|
||||
lazy val `telegram-bot-delivery` = (project in file("."))
|
||||
.settings(
|
||||
name := "telegram-bot-delivery",
|
||||
libraryDependencies ++= Seq(
|
||||
scalaTest % Test,
|
||||
akka,
|
||||
@@ -23,6 +24,10 @@ lazy val `telegram-bot` = (project in file("telegram-bot"))
|
||||
circleGeneric,
|
||||
circleParser,
|
||||
circeAkkaHttp
|
||||
)
|
||||
),
|
||||
Docker / defaultLinuxInstallLocation := "/opt/telegram-bot-delivery",
|
||||
Docker / dockerExposedPorts := Seq(88, 8443),
|
||||
Docker / dockerRepository := Some("registry.xeppaka.eu:443")
|
||||
)
|
||||
.enablePlugins(JavaServerAppPackaging)
|
||||
.enablePlugins(DockerPlugin)
|
||||
|
||||
Reference in New Issue
Block a user