Commit cb25c780 by Hao Chen

add mkdir /data in dockerfile

parent 71c99cc8
...@@ -13,7 +13,7 @@ RUN echo "Asia/Shanghai" > /etc/timezone && dpkg-reconfigure -f noninteractive t ...@@ -13,7 +13,7 @@ RUN echo "Asia/Shanghai" > /etc/timezone && dpkg-reconfigure -f noninteractive t
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
RUN curl -sL https://install.meteor.com | /bin/sh RUN curl -sL https://install.meteor.com | /bin/sh
RUN cd /data && git clone https://git.microduino.cn/mCotton/mcotton-v1 && cd mcotton-v1 RUN mkdir /data && cd /data && git clone https://git.microduino.cn/mCotton/mcotton-v1.git && cd mcotton-v1
RUN meteor update --allow-superuser --all-packages && meteor npm install && meteor npm install --save bcrypt && meteor reset --allow-superuser RUN meteor update --allow-superuser --all-packages && meteor npm install && meteor npm install --save bcrypt && meteor reset --allow-superuser
RUN MONGO_URL=mongodb://mongodb/mcotton_v1 mqttDbUrl=mongodb://mongodb/mqtt meteor --allow-superuser --release 1.4.2.3 RUN MONGO_URL=mongodb://mongodb/mcotton_v1 mqttDbUrl=mongodb://mongodb/mqtt meteor --allow-superuser --release 1.4.2.3
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment