Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile does not include EXPOSE command #364

Closed
timperrett opened this issue Sep 29, 2014 · 1 comment
Closed

Dockerfile does not include EXPOSE command #364

timperrett opened this issue Sep 29, 2014 · 1 comment

Comments

@timperrett
Copy link

given:


import NativePackagerKeys._

scalaVersion := "2.10.4"

maintainer in Docker := "Random Person <[email protected]>"

name in Docker := "sample-application"

daemonUser in Docker := normalizedName.value

dockerBaseImage := "dockerfile/java:oracle-java8"

dockerExposedPorts in Docker := Seq(8080)

packageArchetype.java_server

The docker file never actually includes EXPOSE. This build.sbt is as-per the documentation, and i've tried both a locally published HEAD from github, and also 0.8-M1

@timperrett
Copy link
Author

It's a stupid ordering thing: you need to ensure that packageArchetype.java_server goes at the top of the build.sbt file... Urgh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant