From 74d977f85f241d9596c9731db9a044111f84b864 Mon Sep 17 00:00:00 2001 From: fiatrete Date: Tue, 20 Jun 2023 03:17:19 -0700 Subject: [PATCH] fix docker file --- agent_jarvis/dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agent_jarvis/dockerfile b/agent_jarvis/dockerfile index 6975245..c1bea04 100644 --- a/agent_jarvis/dockerfile +++ b/agent_jarvis/dockerfile @@ -46,6 +46,7 @@ COPY ./example_modules /root/example_modules COPY ./example_services /root/example_services # Download the u2net model -RUN cd /root/example_modules/demo_modules/ && python rembg.module.py +RUN source /root/miniconda3/etc/profile.d/conda.sh && conda activate jarvis \ + && cd /root/example_modules/demo_modules/ && python rembg.module.py CMD ["bash", "/root/jarvis/supervisor.d/entrypoint.sh"]