Skip to content

Instantly share code, notes, and snippets.

@rowanl
Created January 17, 2018 20:30
Show Gist options
  • Save rowanl/c97ab3f182bfdd9b4c1d92473bf2c44c to your computer and use it in GitHub Desktop.
Save rowanl/c97ab3f182bfdd9b4c1d92473bf2c44c to your computer and use it in GitHub Desktop.
playframework-kubernetes - Package and debug commands using sbt with Docker
EXPOSE 9000 5005
RUN unzip target/universal/$APP_NAME-$APP_VERSION.zip
RUN chmod +x $APP_NAME-$APP_VERSION/bin/$APP_NAME
ENTRYPOINT $APP_NAME-$APP_VERSION/bin/$APP_NAME -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment