Skip to content

Instantly share code, notes, and snippets.

@ravindranathakila
Last active August 8, 2020 14:23
Show Gist options
  • Save ravindranathakila/a7c1227aa122b9fec9a6c88a18992284 to your computer and use it in GitHub Desktop.
Save ravindranathakila/a7c1227aa122b9fec9a6c88a18992284 to your computer and use it in GitHub Desktop.
FROM openjdk:14-alpine
ARG D
ENV D=$D
ENV P=8080
ENV PROFILE=p
ADD build/distributions/$D.tar /opt/run/
EXPOSE $P
ENTRYPOINT /opt/run/$D/bin/$D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment