|
@@ -18,6 +18,7 @@ RUN apk add --no-cache --update py-gevent py-psycopg2 git && \
|
|
|
git clone http://git.dever.cc:3000/python/demeter.git $DEMETER_LIB && \
|
|
|
git clone http://git.dever.cc:3000/python/xinnongbaohe.git $DEMETER_HOME && \
|
|
|
#mkdir -p /etc/supervisor/conf.d/ && \
|
|
|
+ rm -R $DEMETER_HOME/runtime/postgresql/device_* $DEMETER_HOME/runtime/postgresql/hardware $DEMETER_HOME/runtime/postgresql/farm_* $DEMETER_HOME/runtime/postgresql/msg $DEMETER_HOME/runtime/postgresql/origin_* $DEMETER_HOME/runtime/postgresql/log $DEMETER_HOME/runtime/postgresql/manage_log && \
|
|
|
chmod -R +x $DEMETER_HOME/*.py
|
|
|
|
|
|
EXPOSE 8087 8088
|