From 58f4582517ea8f9ccf1f910bb87abccdf4e2fcfc Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 6 Feb 2016 23:13:16 -0800 Subject: [PATCH] More Dockerfile repair I'm not fully happy with this arrangement, as it effectively downloads OCRmyPDF twice, not to mention the lengthy setup time overall. Will need to try separate build/run images in the future, but now just get it working again. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 97a4e0db..eea38ca1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,9 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/* RUN pyvenv /appenv \ && pyvenv --system-site-packages /appenv +COPY ./docker-wrapper.sh /application/ +COPY ./test_requirements.txt /application/ + # Install application and dependencies # In this arrangement Pillow and reportlab will be provided by the system RUN . /appenv/bin/activate; \