|
@@ -23,7 +23,7 @@ RUN yum install -y wget rsync epel-release \
|
|
|
COPY resin.properties /app/soft/resin-4.0.65/conf/resin.properties
|
|
|
COPY entrypoint.sh /usr/bin/entrypoint.sh
|
|
|
COPY release /etc/release
|
|
|
-#COPY supervisord.conf /etc/supervisord.conf
|
|
|
+COPY resin.ini /etc/supervisord.d/resin.ini
|
|
|
|
|
|
RUN export RELEASE=`head -n 1 /etc/release` \
|
|
|
&& rsync -avz $RELEASE/ROOT.war /tmp/ROOT.war \
|
|
@@ -31,4 +31,4 @@ RUN export RELEASE=`head -n 1 /etc/release` \
|
|
|
|
|
|
#start resin
|
|
|
ENTRYPOINT ["entrypoint.sh"]
|
|
|
-CMD ["/app/soft/resin-4.0.65/bin/resin.sh console"]
|
|
|
+CMD ["/usr/bin/supervisord","-c", "/etc/supervisord.conf"]
|