🐛 fixed #55

pull/69/head
ruibaby 2018-12-05 17:17:24 +08:00
parent 0242fcea37
commit 12e8e68655
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ LABEL maintainer="Ryan Wang<i@ryanc.cc>"
WORKDIR /opt/halo
ADD . /tmp
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN cd /tmp && mvn package -Pci && mv target/dist/halo/* /opt/halo/ \
&& rm -rf /tmp/* && rm -rf ~/.m2