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