mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-05 21:15:59 +01:00
allow podman build
This commit is contained in:
parent
f58c2d0a7b
commit
1d38367e79
1 changed files with 3 additions and 2 deletions
|
|
@ -117,9 +117,10 @@ COPY gunicorn.conf.py .
|
|||
# setup docker-specific things
|
||||
# Use mounts to avoid copying installer files into the image
|
||||
# These change sometimes, but rarely
|
||||
WORKDIR /usr/src/paperless/src/docker/
|
||||
ARG DOCKER_SRC=/usr/src/paperless/src/docker/
|
||||
WORKDIR ${DOCKER_SRC}
|
||||
|
||||
RUN --mount=type=bind,readwrite,source=docker,target=./ \
|
||||
RUN --mount=type=bind,readwrite,source=docker,target=${DOCKER_SRC} \
|
||||
set -eux \
|
||||
&& echo "Configuring ImageMagick" \
|
||||
&& cp imagemagick-policy.xml /etc/ImageMagick-6/policy.xml \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue