Permalink
Browse files

Dockerize the app

  • Loading branch information...
ygunayer committed Apr 19, 2017
1 parent 99d18a0 commit af9e7582bac648eaeb819ba9d2cc4cea60c621ea
Showing with 10 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +5 −0 Dockerfile
  3. +2 −0 build.sbt
  4. +1 −0 project/plugins.sbt
  5. +1 −1 src/main/resources/application.conf
@@ -1,6 +1,6 @@
.settings/
bin/
project/
project/target
target/
.cache-main
.classpath
@@ -0,0 +1,5 @@
FROM java:8-jdk
WORKDIR /app
CMD ./bin/remote-foo
@@ -1,5 +1,7 @@
val akkaVersion = "2.5.0"
enablePlugins(JavaAppPackaging)
name := """remote-foo"""
version := "1.0"
@@ -0,0 +1 @@
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.0-M8")
@@ -16,7 +16,7 @@ akka {
remote {
enabled-transports = ["akka.remote.netty.tcp"]
netty.tcp {
hostname = "127.0.0.1"
hostname = "remote-foo"
port = 47000
}
log-sent-messages = on

0 comments on commit af9e758

Please sign in to comment.