1
0
mirror of https://github.com/docker/compose.git synced 2025-04-07 19:55:07 +02:00

Move command to fig.yml

As done in the getting started guides. Easier to explain like this,
I think.
This commit is contained in:
Ben Firshman 2014-01-28 14:39:21 +00:00
parent cbdeff99ee
commit c270c13baa

@ -11,13 +11,13 @@ Define your app's environment with Docker so it can be reproduced anywhere:
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD python app.py
Define the services that make up your app so they can be run together in an isolated environment:
```yaml
web:
build: .
command: python app.py
links:
- db
ports: