Jaime Ramírez
2020-06-17 16215d163f05e4bd76071e4b66cfc32a05c766da
commit | author | age
95bda0 1 FROM openjdk:8-jre-alpine
PSV 2
3 ENV VERTICLE_FILE maven-simplest-3.9.0-fat.jar
4
5 # Set the location of the verticles
6 ENV VERTICLE_HOME /usr/verticles
7
8 EXPOSE 8080
9
10 COPY target/$VERTICLE_FILE $VERTICLE_HOME/
11
12 # Launch the verticle
13 WORKDIR $VERTICLE_HOME
14
15 ENTRYPOINT ["sh", "-c"]
16
17 CMD ["exec java -jar $VERTICLE_FILE"]