Copy gunicorn.conf to docker container and use it in entrypoint

This commit is contained in:
Florian Gabsteiger
2019-08-09 13:39:57 -09:00
parent dcc959d4f7
commit bdeaf33462
3 changed files with 4 additions and 3 deletions

View File

@@ -4,9 +4,10 @@ LABEL maintainer="The Paperless Project https://github.com/the-paperless-project
contributors="Guy Addadi <addadi@gmail.com>, Pit Kleyersburg <pitkley@googlemail.com>, \
Sven Fischer <git-dev@linux4tw.de>"
# Copy Pipfiles file and init script
# Copy Pipfiles file, init script and gunicorn.conf
COPY Pipfile* /usr/src/paperless/
COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh
COPY scripts/gunicorn.conf /usr/src/paperless/
# Set export and consumption directories
ENV PAPERLESS_EXPORT_DIR=/export \