diff --git a/website/Makefile b/website/Makefile index d946f1fc3..bdb362513 100644 --- a/website/Makefile +++ b/website/Makefile @@ -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