11 lines
190 B
Docker
11 lines
190 B
Docker
FROM openjdk:8u151-jdk-alpine3.7
|
|
|
|
EXPOSE 8070
|
|
|
|
ENV APP_HOME /usr/src/app
|
|
|
|
COPY target/shopping-cart-0.0.1-SNAPSHOT.jar $APP_HOME/app.jar
|
|
|
|
WORKDIR $APP_HOME
|
|
|
|
ENTRYPOINT exec java -jar app.jar |