Selaa lähdekoodia

Fix ordering in dockerfile

Ben Firshman 11 vuotta sitten
vanhempi
sitoutus
b6d0b8468b
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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: