From 53b8e75d5316e78b9acbba2379dfbc86f26af60d Mon Sep 17 00:00:00 2001 From: felixwelter <felixwelter@gmail.com> Date: Mon, 10 Aug 2020 16:36:57 +0200 Subject: [PATCH] Remove content files from docker building --- .dockerignore | 3 +++ Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index e69de29..edfcb1d 100644 --- a/.dockerignore +++ b/.dockerignore @@ -0,0 +1,3 @@ +img_cache +index +slides \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 361a2d4..3b45dcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN rm /etc/ImageMagick-6/policy.xml COPY policy.xml /etc/ImageMagick-6/policy.xml # Remove imagemagick policy from /etc/ImageMagick-6/policy.xml if pdf2img needed -RUN mkdir app +RUN mkdir app && mkdir app/slides && mkdir app/index && mkdir app/img_cache COPY . app WORKDIR app #RUN mkdir slides && mkdir index && mkdir img_cache -- GitLab