1
0
Эх сурвалжийг харах

Fix ordering in dockerfile

Ben Firshman 11 жил өмнө
parent
commit
b6d0b8468b
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      README.md
  2. 1 1
      docs/index.md

+ 1 - 1
README.md

@@ -10,8 +10,8 @@ Define your app's environment with Docker so it can be reproduced anywhere:
 
     FROM orchardup/python:2.7
     ADD . /code
-    RUN pip install -r requirements.txt
     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:

+ 1 - 1
docs/index.md

@@ -9,8 +9,8 @@ Define your app's environment with Docker so it can be reproduced anywhere:
 
     FROM orchardup/python:2.7
     ADD . /code
-    RUN pip install -r requirements.txt
     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: