Created
January 17, 2018 20:25
-
-
Save rowanl/ecafa8e4fd08d3f847e538db93af7510 to your computer and use it in GitHub Desktop.
playframework-kubernetes - Package and run commands using sbt with Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN sbt test dist | |
EXPOSE 9000 | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment