jonahkh
2020-05-13 4829e49af4e2cd4d8c8dfe0c215bd9f3d65efdfb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM openjdk:8-jre-alpine
 
ENV VERTICLE_FILE maven-simplest-3.9.0-fat.jar
 
# Set the location of the verticles
ENV VERTICLE_HOME /usr/verticles
 
EXPOSE 8080
 
COPY target/$VERTICLE_FILE $VERTICLE_HOME/
 
# Launch the verticle
WORKDIR $VERTICLE_HOME
 
ENTRYPOINT ["sh", "-c"]
 
CMD ["exec java -jar $VERTICLE_FILE"]