Commit 618df02a authored by 张征龙's avatar 张征龙

Update Dockerfile

parent 3036f297
FROM registry.cn-hangzhou.aliyuncs.com/duiba/duiba-jdk8:v2.0 FROM registry.cn-hangzhou.aliyuncs.com/duiba/duiba-jdk8
ADD ./build/libs/miria-project-test.jar /root/miria-project-test.jar MAINTAINER op@duiba.com.cn
CMD java -jar /root/miria-project-test.jar ARG appname
env LC_ALL en_US.utf8 ARG environment
\ No newline at end of file ENV LANG en_US.utf8
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 /root/scripts/$appname-$environment.sh start
\ 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