瀏覽代碼

Fix ordering in dockerfile

Ben Firshman 11 年之前
父節點
當前提交
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: