Dockerfile 444 B

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