12345678910111213141516171819 |
- FROM hub.evbj.easou.com/dev/centos:7.9.2009
- ENV TZ=Asia/Shanghai
- COPY asp.tgz /tmp/asp.tgz
- RUN yum install -y epel-release \
- && yum install -y supervisor \
- && sed -i "s/nodaemon=false/nodaemon=true/" /etc/supervisord.conf \
- && mkdir -p /app/ecom \
- && tar -zxf /tmp/asp.tgz -C /app/ecom/ \
- && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
- COPY asp.ini /etc/supervisord.d/asp.ini
- CMD ["supervisord"]
|