Skip to content

Commit

Permalink
Merge pull request #3 from khs1994-docker/dev
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
khs1994 authored Nov 8, 2017
2 parents b5d4ee0 + 1ddbc4e commit 425d303
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ if [ $1 = "sh" ];then
exit 0
fi

rm -rf node_modules public
cp -a . ../hexo/
rm -rf public
cp -a source themes _config.yml ../hexo/
cd ../hexo
tar -zxvf node_modules.tar.gz > /dev/null 2>&1

# echo "registry=https://registry.npm.taobao.org" > /root/.npmrc
echo $PWD

main(){
./node_modules/hexo/bin/hexo version
Expand Down

0 comments on commit 425d303

Please sign in to comment.