mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-02-15 00:33:35 -05:00
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 \
|
||||
&& 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; \
|
||||
|
||||
Reference in New Issue
Block a user