Skip to content

Instantly share code, notes, and snippets.

@auryn31
Created July 29, 2019 08:04
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 auryn31/57959c522f45950600ea6570688bc82b to your computer and use it in GitHub Desktop.
Save auryn31/57959c522f45950600ea6570688bc82b to your computer and use it in GitHub Desktop.
FROM ubuntu:19.10
RUN apt-get update
RUN apt-get -y install default-jdk
RUN apt-get -y install maven
COPY src /server/src
COPY pom.xml /server/pom.xml
COPY .mvn /server/.mvn
COPY mvnw /server/mvnw
COPY mvnw.cmd /server/mvnw.cmd
COPY vertx.iml /server/vertx.iml
RUN mvn install -f /server/pom.xml
WORKDIR /server
CMD java -jar target/vertx-0.0.1-fat.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment