Skip to content

Instantly share code, notes, and snippets.

@arthurtsang
Created February 8, 2015 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arthurtsang/73003ba728466058c756 to your computer and use it in GitHub Desktop.
Save arthurtsang/73003ba728466058c756 to your computer and use it in GitHub Desktop.
Dockerfile for microservice using openjdk 8
FROM peelsky/zulu-openjdk-busybox
WORKDIR /app
USER daemon
ADD ./build/libs/msvc-search-1.0-all.jar /app/msvc-search-1.0-all.jar
CMD [ "java", "-jar", "/app/msvc-search-1.0-all.jar" ]
ExPOSE 9500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment