diff --git a/Dockerfile b/Dockerfile index f588b5e..cc1e582 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,8 @@ FROM openjdk:8-alpine - # #Required for starting application up. RUN apk update && apk add /bin/sh - RUN mkdir -p /opt/app ENV PROJECT_HOME /opt/app - COPY target/spring-boot-mongo-1.0.jar $PROJECT_HOME/spring-boot-mongo.jar - WORKDIR $PROJECT_HOME - CMD ["java" ,"-jar","./spring-boot-mongo.jar"]