Fix docker-dev make target for docs

This commit is contained in:
Rickard von Essen 2017-01-30 12:15:16 +01:00
parent 71424562a9
commit 843614a7be
No known key found for this signature in database
GPG Key ID: E0C0327388876CBA
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