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.
This commit is contained in:
James R. Barlow
2016-02-06 23:13:16 -08:00
parent 2d15c09cca
commit 58f4582517

View File

@@ -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; \