Skip to content

Commit 96e02f6

Browse files
committed
Copy /home/beeai/agents/ in the Containerfile
... as it is required for Openshift deployment. Related: packit/jotnar#38 Signed-off-by: Siteshwar Vashisht <[email protected]>
1 parent 1122e1f commit 96e02f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

beeai/Containerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ RUN pip3 install \
2727
RUN useradd -m -G wheel beeai
2828

2929
# Create directories
30-
RUN mkdir -p /home/beeai/agents
31-
RUN chown -R beeai:beeai /home/beeai
30+
# `/home/beeai/agents/` should be directly copied for Openshift deployment
31+
# although it is locally mounted through a volume
32+
COPY --chown=beeai:beeai agents/ /home/beeai/agents/
3233

3334
USER beeai
3435
WORKDIR /home/beeai

0 commit comments

Comments
 (0)