问题 I few days ago I was trying to deploy a docker image of a spring boot app into heroku. I have the following docker file: FROM openjdk:8-jdk-alpine LABEL maintainer="gabigarciagar@gmail.com" VOLUME /tmp COPY ./target/*.jar PetApp_Auth.jar CMD [ "java","-Xmx300m","-Xss512k","-XX:CICompilerCount=2","-Dfile.encoding=UTF-8","-Dspring.profiles.active=heroku","-Djava.security.egd=file:/dev/./urandom","-jar","/PetApp_Auth.jar" ] also in my application.properties for a heroku profile i have: spring