Merge pull request #4484 from rickard-von-essen/make-docker-dev-docs
Fix docker-dev make target for docs
This commit is contained in:
commit
a4da3ca025
|
@ -4,9 +4,9 @@ init:
|
||||||
bundle
|
bundle
|
||||||
|
|
||||||
docker-dev:
|
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 && \
|
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
|
dev: init
|
||||||
PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server
|
PACKER_DISABLE_DOWNLOAD_FETCH=true PACKER_VERSION=1.0 bundle exec middleman server
|
||||||
|
|
Loading…
Reference in New Issue