Parcourir la source

添加 'Dockerfile'

scofield il y a 3 ans
Parent
commit
3ffbc50a7b
1 fichiers modifiés avec 19 ajouts et 0 suppressions
  1. 19 0
      Dockerfile

+ 19 - 0
Dockerfile

@@ -0,0 +1,19 @@
+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"]