Merge pull request #4484 from rickard-von-essen/make-docker-dev-docs

Fix docker-dev make target for docs
This commit is contained in:
Rickard von Essen 2017-01-30 12:16:17 +01:00 committed by GitHub
commit a4da3ca025
1 changed files with 2 additions and 2 deletions

View File

@ -4,9 +4,9 @@ init:
bundle
docker-dev:
docker run -it --expose 4567 -P -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.3.1 \
docker run -it --expose 4567 -p 4567:4567 -v "$(PWD)":/usr/src/app -w /usr/src/app ruby:2.3.1 \
bash -c "apt-get update && apt-get -qy install curl git libgmp3-dev nodejs && \
gem install bundler && make dev"
gem install bundler && bundle install && make dev"
dev: init
PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server