Skip to content

Commit a97bdd5

Browse files
voodoo11Manul from Pathway
authored andcommitted
Update demo-question-answering image (#9365)
GitOrigin-RevId: 3d394e41f5b1a1cc402ea37dcc640e8e387c6ad6
1 parent 7d54c87 commit a97bdd5

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

examples/pipelines/demo-question-answering/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
FROM pathwaycom/pathway:latest
1+
ARG PATHWAY_SRC_IMAGE=pathwaycom/pathway:latest
2+
3+
FROM ${PATHWAY_SRC_IMAGE}
24

35
WORKDIR /app
46

57
RUN apt-get update \
6-
&& apt-get install -y python3-opencv tesseract-ocr-eng poppler-utils \
8+
&& apt-get install -y python3-opencv tesseract-ocr-eng poppler-utils libreoffice \
79
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
810

911
COPY requirements.txt .

examples/pipelines/demo-question-answering/docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ services:
22
app:
33
build:
44
context: .
5+
args:
6+
PATHWAY_SRC_IMAGE: ${PATHWAY_SRC_IMAGE:-pathwaycom/pathway:latest}
57
ports:
68
- "${PATHWAY_PORT:-8000}:${PATHWAY_PORT:-8000}"
79
networks:
@@ -16,6 +18,8 @@ services:
1618
ui:
1719
build:
1820
context: ui
21+
args:
22+
PATHWAY_SRC_IMAGE: ${PATHWAY_SRC_IMAGE:-pathwaycom/pathway:latest}
1923
networks:
2024
- network
2125
environment:

0 commit comments

Comments
 (0)