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

Update Dockerfile

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