Update Dockerfile

pull/73/head
RYAN0UP_ 2018-12-29 00:26:52 +08:00 committed by GitHub
parent e2ffae2463
commit d636e3b8b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ ENV TZ=Asia/Shanghai \
DB_USER="admin" \
DB_PASSWORD="123456"
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo $TZ > /etc/timezone
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