Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kalhankoul96 authored Nov 1, 2024
1 parent 89251dd commit 1d8a524
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1d8a524

Please sign in to comment.