Commit 8559bc23 authored by 智勇's avatar 智勇

up

parent 5a6373e2
......@@ -4,25 +4,19 @@ FROM ${FROM_IMAGE}
FROM primetoninc/jdk:1.8
LABEL maintainer=""
USER root
WORKDIR /home/quant_group
# 解决时区问题
# ENV TZ=Asia/Shanghai
# RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# RUN mkdir project/;mkdir project/lib;mkdir project/config;mkdir logs/
ARG BUILD_SCHEMA
ENV BUILD_SCHEMA=$BUILD_SCHEMA
ARG SYSTEM_NAME
ENV SYSTEM_NAME=$SYSTEM_NAME
ARG BUILD_SCHEMA
ENV BUILD_SCHEMA=$BUILD_SCHEMA
RUN echo -e "${BUILD_SCHEMA//@/\n}" >> ./build_info
COPY docker-entrypoint.sh .
# RUN chmod +x ./docker-entrypoint.sh
COPY --from=0 /code/* /home/quant_group/project/
COPY docker-entrypoint.sh .
CMD ["sh", "docker-entrypoint.sh"]
\ 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