make flows visible to backend container
This commit is contained in:
parent
696cbea407
commit
05239e8f0d
3 changed files with 4 additions and 1 deletions
|
|
@ -40,8 +40,9 @@ PY
|
|||
|
||||
#ENV EASYOCR_MODULE_PATH=~/.cache/docling/models/EasyOcr/
|
||||
|
||||
# Copy Python source
|
||||
# Copy Python source and flows
|
||||
COPY src/ ./src/
|
||||
COPY flows/ ./flows/
|
||||
|
||||
# Expose backend port
|
||||
EXPOSE 8000
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ services:
|
|||
volumes:
|
||||
- ./documents:/app/documents:Z
|
||||
- ./keys:/app/keys:Z
|
||||
- ./flows:/app/flows:Z
|
||||
|
||||
openrag-frontend:
|
||||
image: phact/openrag-frontend:${OPENRAG_VERSION:-latest}
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ services:
|
|||
volumes:
|
||||
- ./documents:/app/documents:Z
|
||||
- ./keys:/app/keys:Z
|
||||
- ./flows:/app/flows:Z
|
||||
gpus: all
|
||||
|
||||
openrag-frontend:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue