File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,12 @@ to link them together and expose the web app's port.
9393With those files in place, you can now generate the Rails skeleton app
9494using [ docker-compose run] ( reference/run.md ) :
9595
96- docker-compose run web rails new . --force --no-deps --database=postgresql
96+ docker-compose run --no-deps web rails new . --force --database=postgresql
9797
98- First, Compose builds the image for the ` web ` service using the
99- ` Dockerfile ` . Then it runs ` rails new ` inside a new container, using that
100- image. Once it's done, you should have generated a fresh app.
98+ First, Compose builds the image for the ` web ` service using the ` Dockerfile ` .
99+ The ` --no-deps ` tells Compose not to start linked services. Then it runs
100+ ` rails new ` inside a new container, using that image. Once it's done, you
101+ should have generated a fresh app.
101102
102103List the files.
103104
You can’t perform that action at this time.
0 commit comments