[odrs-web/oscp] One liner



commit b00a48c4c548691dca6b41038895e3291e3c0db2
Author: Andrea Veri <averi redhat com>
Date:   Tue Nov 13 09:50:22 2018 +0100

    One liner

 Dockerfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 642a892..fde0403 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,8 +13,7 @@ WORKDIR ${ODRS_HOME}
 COPY app_data ${ODRS_HOME}
 
 COPY requirements.txt .
-RUN /bin/bash -c "source /opt/rh/rh-python36/enable"
-RUN pip install -r requirements.txt
+RUN /bin/bash -c "source /opt/rh/rh-python36/enable" && pip install -r requirements.txt
 
 COPY odrs.gnome.org.conf /etc/httpd/conf.d/000-default.conf
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]