mirror of
https://github.com/docker/compose.git
synced 2025-07-20 20:24:30 +02:00
Fix ordering in dockerfile
This commit is contained in:
parent
5e5bd939be
commit
b6d0b8468b
@ -10,8 +10,8 @@ Define your app's environment with Docker so it can be reproduced anywhere:
|
|||||||
|
|
||||||
FROM orchardup/python:2.7
|
FROM orchardup/python:2.7
|
||||||
ADD . /code
|
ADD . /code
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
CMD python app.py
|
CMD python app.py
|
||||||
|
|
||||||
Define the services that make up your app so they can be run together in an isolated environment:
|
Define the services that make up your app so they can be run together in an isolated environment:
|
||||||
|
@ -9,8 +9,8 @@ Define your app's environment with Docker so it can be reproduced anywhere:
|
|||||||
|
|
||||||
FROM orchardup/python:2.7
|
FROM orchardup/python:2.7
|
||||||
ADD . /code
|
ADD . /code
|
||||||
RUN pip install -r requirements.txt
|
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
CMD python app.py
|
CMD python app.py
|
||||||
|
|
||||||
Define the services that make up your app so they can be run together in an isolated environment:
|
Define the services that make up your app so they can be run together in an isolated environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user