FROM registry.cn-shanghai.aliyuncs.com/ibizops/tongweb:arm-7.0

ENV TZ Asia/Shanghai
ENV LANG C.UTF-8

WORKDIR /opt/tongtech
ADD demo-app-web.war .

RUN echo -e 'export LANG="zh_CN.UTF-8"\nexport LC_ALL="zh_CN.UTF-8"' > /etc/locale.conf
RUN unzip -oq demo-app-web.war -d ./TongWeb7.0/deployment/jcyweb

ENTRYPOINT /opt/tongtech/TongWeb7.0/bin/startserver.sh
