فهرست منبع

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: