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:
@@ -47,6 +47,9 @@ RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /root/*
|
|||||||
RUN pyvenv /appenv \
|
RUN pyvenv /appenv \
|
||||||
&& pyvenv --system-site-packages /appenv
|
&& pyvenv --system-site-packages /appenv
|
||||||
|
|
||||||
|
COPY ./docker-wrapper.sh /application/
|
||||||
|
COPY ./test_requirements.txt /application/
|
||||||
|
|
||||||
# Install application and dependencies
|
# Install application and dependencies
|
||||||
# In this arrangement Pillow and reportlab will be provided by the system
|
# In this arrangement Pillow and reportlab will be provided by the system
|
||||||
RUN . /appenv/bin/activate; \
|
RUN . /appenv/bin/activate; \
|
||||||
|
|||||||
Reference in New Issue
Block a user