123456789101112131415161718192021222324252627 |
- FROM java:8-jre
- MAINTAINER zhangqiankun<zhangqiankun@persagy.com>
- LABEL tier backend
- LABEL product integrated
- LABEL project calendar-center
- LABEL name 工作历
- ENV JAVA_OPTS -Dfile.encoding=UTF-8 -Xms2048m -Xmx2048m
- ENV TZ Asia/Shanghai
- ARG WORKER_HOME
- RUN apt-get install -y --no-install-recommends tzdata && rm -rf /var/lib/apt/lists/*
- RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
- RUN mkdir -p $WORKER_HOME/config
- COPY *.jar $WORKER_HOME/
- COPY entrypoint.sh $WORKER_HOME/
- #EXPOSE 9971
- WORKDIR $WORKER_HOME
- RUN ls
- ENTRYPOINT ["sh","./entrypoint.sh"]
|