From 89d26536621e9339c591156014319bd7584837d8 Mon Sep 17 00:00:00 2001 From: Ben Firshman Date: Tue, 28 Jan 2014 12:45:03 +0000 Subject: [PATCH] Add links to Dockerfile docs --- docs/django.md | 2 +- docs/rails.md | 2 +- docs/wordpress.md | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/django.md b/docs/django.md index ddb12e6db..ed8f3d939 100644 --- a/docs/django.md +++ b/docs/django.md @@ -17,7 +17,7 @@ Let's set up the three files that'll get us started. First, our app is going to RUN pip install -r requirements.txt ADD . /code/ -That'll install our application inside an image with Python installed alongside all of our Python dependencies. +That'll install our application inside an image with Python installed alongside all of our Python dependencies. For more information on how to write Dockerfiles, see the [Dockerfile tutorial](https://www.docker.io/learn/dockerfile/) and the [Dockerfile reference](http://docs.docker.io/en/latest/use/builder/). Second, we define our Python dependencies in a file called `requirements.txt`: diff --git a/docs/rails.md b/docs/rails.md index ea4620aa1..0ee56b65c 100644 --- a/docs/rails.md +++ b/docs/rails.md @@ -18,7 +18,7 @@ Let's set up the three files that'll get us started. First, our app is going to RUN bundle install ADD . /myapp -That'll put our application code inside an image with Ruby, Bundler and all our dependencies. +That'll put our application code inside an image with Ruby, Bundler and all our dependencies. For more information on how to write Dockerfiles, see the [Dockerfile tutorial](https://www.docker.io/learn/dockerfile/) and the [Dockerfile reference](http://docs.docker.io/en/latest/use/builder/). Next, we have a bootstrap `Gemfile` which just loads Rails. It'll be overwritten in a moment by `rails new`. diff --git a/docs/wordpress.md b/docs/wordpress.md index 3e62e91b1..419f64399 100644 --- a/docs/wordpress.md +++ b/docs/wordpress.md @@ -18,6 +18,8 @@ ADD wp-config.php /wordpress/wp-config.php ADD router.php /router.php ``` +This instructs Docker on how to build an image that contains PHP and Wordpress. For more information on how to write Dockerfiles, see the [Dockerfile tutorial](https://www.docker.io/learn/dockerfile/) and the [Dockerfile reference](http://docs.docker.io/en/latest/use/builder/). + Next up, `fig.yml` starts our web service and a separate MySQL instance: ```