hexo
This commit is contained in:
parent
0cc99addf9
commit
385148c548
@ -16,9 +16,7 @@ RUN cd $BASH_PATH && \
|
|||||||
git checkout $NVM_VERSION && \
|
git checkout $NVM_VERSION && \
|
||||||
source $BASH_PATH/.nvm/nvm.sh && \
|
source $BASH_PATH/.nvm/nvm.sh && \
|
||||||
nvm install $NODE_VERSION && \
|
nvm install $NODE_VERSION && \
|
||||||
npm install -g hexo-cli && \
|
npm install -g hexo-cli
|
||||||
npm install hexo-renderer-jade@0.3.0 --save && \
|
|
||||||
npm install hexo-renderer-stylus --save
|
|
||||||
|
|
||||||
RUN mkdir /logs
|
RUN mkdir /logs
|
||||||
|
|
||||||
|
|||||||
@ -5,10 +5,9 @@ if [ ! -e /hexo ]; then
|
|||||||
git clone -b $BRANCH $REPOSITORY hexo;
|
git clone -b $BRANCH $REPOSITORY hexo;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -e /hexo ]; then
|
if [ -e /hexo/install.sh ]; then
|
||||||
rm -rf /hexo;
|
cd /hexo;
|
||||||
cd /;
|
sh ./install.sh;
|
||||||
git clone -b $BRANCH $REPOSITORY hexo;
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user