From 253d71e4c6e9c3fbf657ec831e190736e54234c3 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@hat.eliotberriot.com>
Date: Thu, 23 Jun 2016 14:12:17 +0200
Subject: [PATCH] Force update of youtube-dl to avoid failing import

---
 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 9ec6ae9..b7ecedf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,7 +11,6 @@ RUN apt-get update -qq && grep "^[^#;]" requirements.apt | xargs apt-get install
 COPY ./requirements /requirements
 RUN pip install -r /requirements/production.txt
 
-
 COPY ./compose/django/gunicorn.sh /gunicorn.sh
 COPY ./compose/django/entrypoint.sh /entrypoint.sh
 
@@ -19,4 +18,7 @@ ENTRYPOINT ["/entrypoint.sh"]
 
 COPY . /app
 
+# Since youtube-dl code is updated fairly often, we split it here
+RUN pip install --upgrade youtube-dl
+
 WORKDIR /app
-- 
GitLab