Skip to content

Commit c334bd0

Browse files
authored
Merge pull request #742 from alephdata/bugfix/fakeredis
pin fakeredis to < 2.31.0
2 parents 3c4d6b3 + a4711b6 commit c334bd0

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LABEL org.opencontainers.image.licenses MIT
66
LABEL org.opencontainers.image.source https://github.com/alephdata/ingest-file
77

88
# Enable non-free archive for `unrar`.
9-
RUN echo "deb http://http.us.debian.org/debian stable non-free" >/etc/apt/sources.list.d/nonfree.list \
9+
RUN echo "deb http://http.us.debian.org/debian bookworm non-free" >/etc/apt/sources.list.d/nonfree.list \
1010
&& apt-get -qq -y update \
1111
&& apt-get -qq -y install build-essential locales \
1212
# python deps (mostly to install their dependencies)
@@ -148,10 +148,10 @@ RUN pip install --no-cache-dir --config-settings editable_mode=compat --use-pep5
148148
RUN chown -R app:app /ingestors
149149

150150
ENV ARCHIVE_TYPE=file \
151-
ARCHIVE_PATH=/data \
152-
FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \
153-
REDIS_URL=redis://redis:6379/0 \
154-
TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata
151+
ARCHIVE_PATH=/data \
152+
FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \
153+
REDIS_URL=redis://redis:6379/0 \
154+
TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata
155155

156156
# USER app
157157
CMD ingestors process

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ py7zr==1.0.0
2020
pytest==8.3.5
2121
pytest-cov==6.1.0
2222
click==8.1.8
23+
fakeredis==2.30.3
2324

2425
# File format support
2526
dbf==0.99.10

0 commit comments

Comments
 (0)