adding startup script to dockerfile
问题 I have built my docker image using openjdk. # config Dockerfile FROM openjdk:8 COPY . /usr/src/myapp WORKDIR /usr/src/myapp # build image docker build -t shantanuo/dbt . It is working as expected using this command... docker run -p 8081:8080 -it shantanuo/dbt Once I log-in, I have to run this command... sh bin/startup.sh My Question: Is it possible to add the startup command to dockerfile? I tried adding this line in my dockerfile. CMD ["sh", "bin/startup.sh"] But after building the image, I