mirror of https://github.com/docker/docs.git
Small documentation fix
There are four files (`Dockerfile`, `Gemfile`, `Gemfile.lock`, `docker-compose.yml`) described for the setup.
This commit is contained in:
parent
d416168b31
commit
107be08421
|
@ -8,7 +8,7 @@ This Quickstart guide will show you how to use Docker Compose to set up and run
|
||||||
|
|
||||||
### Define the project
|
### Define the project
|
||||||
|
|
||||||
Start by setting up the three files you'll need to build the app. First, since
|
Start by setting up the four files you'll need to build the app. First, since
|
||||||
your app is going to run inside a Docker container containing all of its
|
your app is going to run inside a Docker container containing all of its
|
||||||
dependencies, you'll need to define exactly what needs to be included in the
|
dependencies, you'll need to define exactly what needs to be included in the
|
||||||
container. This is done using a file called `Dockerfile`. To begin with, the
|
container. This is done using a file called `Dockerfile`. To begin with, the
|
||||||
|
@ -61,7 +61,7 @@ to link them together and expose the web app's port.
|
||||||
|
|
||||||
### Build the project
|
### Build the project
|
||||||
|
|
||||||
With those three files in place, you can now generate the Rails skeleton app
|
With those four files in place, you can now generate the Rails skeleton app
|
||||||
using `docker-compose run`:
|
using `docker-compose run`:
|
||||||
|
|
||||||
docker-compose run web rails new . --force --database=postgresql --skip-bundle
|
docker-compose run web rails new . --force --database=postgresql --skip-bundle
|
||||||
|
|
Loading…
Reference in New Issue