avfranco commited on
Commit
69ea3ce
·
verified ·
1 Parent(s): 14375ec

Try to fix build error while installing graphviz

Browse files

Added:
> RUN apt-get clean
RUN apt-get update --fix-missing

Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -44,9 +44,11 @@ COPY --chown=user . $HOME
44
  RUN git clone https://avfranco:$(cat cli_token)@huggingface.co/spaces/avfranco/ea4all_agentic_live
45
  WORKDIR ${HOME}/ea4all_agentic_live
46
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
47
  # Install graphviz dependency
48
  USER root
49
- RUN apt-get update \
 
50
  && xargs -a packages.txt apt-get install -y \
51
  && apt-get clean
52
  USER user
 
44
  RUN git clone https://avfranco:$(cat cli_token)@huggingface.co/spaces/avfranco/ea4all_agentic_live
45
  WORKDIR ${HOME}/ea4all_agentic_live
46
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
47
+
48
  # Install graphviz dependency
49
  USER root
50
+ RUN apt-get clean
51
+ RUN apt-get update --fix-missing \
52
  && xargs -a packages.txt apt-get install -y \
53
  && apt-get clean
54
  USER user