Commit 822f4219 authored by kongbo's avatar kongbo

Update Dockerfile

parent 50c299c9
......@@ -7,4 +7,4 @@ RUN mkdir /root/duiba-deploy/
ADD ./duiba-deploy /root/duiba-deploy/
ADD ./scripts /root/scripts
#define entry point which will be run first when the container starts up
ENTRYPOINT java $JAVA_OPS -jar /root/duiba-deploy/$appname.jar --spring.profiles.active=$SPRING_ENV --spring.cloud.config.uri=$CONFIG_SERVER
\ No newline at end of file
CMD java $JAVA_OPS -jar /root/duiba-deploy/$appname.jar --spring.profiles.active=$SPRING_ENV --spring.cloud.config.uri=$CONFIG_SERVER
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment