mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
Use ruby image for rails docs
Fixes #376 Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
90f5eda930
commit
506f54e9c3
@ -10,7 +10,7 @@ We're going to use Fig to set up and run a Rails/PostgreSQL app. Before starting
|
|||||||
|
|
||||||
Let's set up the three files that'll get us started. First, our app is going to be running inside a Docker container which contains all of its dependencies. We can define what goes inside that Docker container using a file called `Dockerfile`. It'll contain this to start with:
|
Let's set up the three files that'll get us started. First, our app is going to be running inside a Docker container which contains all of its dependencies. We can define what goes inside that Docker container using a file called `Dockerfile`. It'll contain this to start with:
|
||||||
|
|
||||||
FROM binaryphile/ruby:2.0.0-p247
|
FROM ruby
|
||||||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev
|
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev
|
||||||
RUN mkdir /myapp
|
RUN mkdir /myapp
|
||||||
WORKDIR /myapp
|
WORKDIR /myapp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user