From 843614a7be845610a1db278c1db80e3a1139f5d0 Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Mon, 30 Jan 2017 12:15:16 +0100 Subject: [PATCH] Fix docker-dev make target for docs --- website/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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