FROM bladex/alpine-java:openjdk8-openj9_cn_slim MAINTAINER newfiber RUN mkdir -p /newfiber/termite-data-connect WORKDIR /newfiber/termite-data-connect EXPOSE 8349 ADD ./newfiber-data-connect.jar ./newfiber-data-connect.jar ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "newfiber-data-connect.jar"] CMD ["--spring.profiles.active=dev"]