Skip to content

Commit a1a6395

Browse files
committed
Add Dockerfile.test which contains dev dependencies
1 parent 28d1c53 commit a1a6395

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Dockerfile.test

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
FROM ghcr.io/openaleph/ingest-file-base:latest
2+
3+
# ENV LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1
4+
5+
COPY . /ingestors
6+
WORKDIR /ingestors
7+
RUN pip3 install --no-cache-dir -r /ingestors/requirements.txt
8+
RUN pip3 install --no-cache-dir /ingestors
9+
10+
RUN pip3 install -r /ingestors/requirements-dev.txt
11+
RUN chown -R app:app /ingestors
12+
13+
ENV ARCHIVE_TYPE=file \
14+
ARCHIVE_PATH=/data \
15+
FTM_STORE_URI=postgresql://aleph:aleph@postgres/aleph \
16+
REDIS_URL=redis://redis:6379/0 \
17+
TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata
18+
19+
USER app
20+
CMD ingestors process

0 commit comments

Comments
 (0)