This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
590 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ media/overrides.js | |
|
||
# Sqlite database | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
|
||
# PyCharm | ||
.idea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM alpine:3.8 | ||
|
||
LABEL maintainer="The Paperless Project https://github.com/danielquinn/paperless" \ | ||
LABEL maintainer="The Paperless Project https://github.com/the-paperless-project/paperless" \ | ||
contributors="Guy Addadi <[email protected]>, Pit Kleyersburg <[email protected]>, \ | ||
Sven Fischer <[email protected]>" | ||
|
||
|
@@ -12,11 +12,30 @@ COPY scripts/docker-entrypoint.sh /sbin/docker-entrypoint.sh | |
ENV PAPERLESS_EXPORT_DIR=/export \ | ||
PAPERLESS_CONSUMPTION_DIR=/consume | ||
|
||
|
||
RUN apk update --no-cache && apk add python3 gnupg libmagic libpq bash shadow curl \ | ||
sudo poppler tesseract-ocr imagemagick ghostscript unpaper optipng && \ | ||
apk add --virtual .build-dependencies \ | ||
python3-dev poppler-dev postgresql-dev gcc g++ musl-dev zlib-dev jpeg-dev && \ | ||
RUN apk add --no-cache \ | ||
bash \ | ||
curl \ | ||
ghostscript \ | ||
gnupg \ | ||
imagemagick \ | ||
libmagic \ | ||
libpq \ | ||
optipng \ | ||
poppler \ | ||
python3 \ | ||
shadow \ | ||
sudo \ | ||
tesseract-ocr \ | ||
unpaper && \ | ||
apk add --no-cache --virtual .build-dependencies \ | ||
g++ \ | ||
gcc \ | ||
jpeg-dev \ | ||
musl-dev \ | ||
poppler-dev \ | ||
postgresql-dev \ | ||
python3-dev \ | ||
zlib-dev && \ | ||
# Install python dependencies | ||
python3 -m ensurepip && \ | ||
rm -r /usr/lib/python*/ensurepip && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
if [ "${DOCKER_USERNAME}" == "" -o "${DOCKER_PASSWORD}" == "" ] | ||
then | ||
exit 0 | ||
fi | ||
|
||
docker login --username=${DOCKER_USERNAME} --password=${DOCKER_PASSWORD} | ||
if [ "${TRAVIS_TAG}" != "" ] | ||
then | ||
docker tag the-paperless-project/paperless the-paperless-project/paperless:${TRAVIS_TAG} | ||
docker push the-paperless-project/paperless:${TRAVIS_TAG} | ||
else | ||
docker push the-paperless-project/paperless | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.