From 1d8a52464fa9636d3a0b6bb35e9dda6e0f418f2e Mon Sep 17 00:00:00 2001 From: kalhankoul96 Date: Fri, 1 Nov 2024 10:30:20 -0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7beafa6..6a255840 100644 --- a/Dockerfile +++ b/Dockerfile @@ -207,8 +207,6 @@ RUN cd /aha && git clone https://github.com/weiya711/sam.git && \ ln -s /aha/.git/modules/sam/ .git && \ git checkout `cat /tmp/HEAD` && git submodule update --init --recursive -RUN cd /aha/APEX && pip install -r requirements.txt - # Sam 2 - build sam COPY ./sam /aha/sam RUN echo "--- ..Sam 2" && cd /aha/sam && make sam && \ @@ -247,11 +245,14 @@ COPY ./setup.py /aha/setup.py COPY ./aha /aha/aha WORKDIR /aha + RUN source bin/activate && \ echo "--- ..Final aha deps install" && \ pip install -e . && \ aha deps install +RUN cd /aha/APEX && pip install -r requirements.txt + # This should go as late in Docker file as possible; it brings # in EVERYTHING. Anything from here on down CANNOT BE CACHED. WORKDIR /aha