Spaces:
Running
Running
app-ea4all-agentic-workflow-sprint-3-hf-togaf-deploy-live-docker-graphviz
Browse files- Dockerfile +9 -3
Dockerfile
CHANGED
|
@@ -28,10 +28,16 @@ RUN huggingface-cli login --token $(cat /home/user/cli_token) --add-to-git-crede
|
|
| 28 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 29 |
COPY --chown=user . $HOME
|
| 30 |
|
| 31 |
-
# Clone and run ea4all-
|
| 32 |
-
RUN git clone https://avfranco:$(cat cli_token)@huggingface.co/spaces/avfranco/
|
| 33 |
-
WORKDIR /home/user/
|
| 34 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
CMD ["python","app.py"]
|
|
|
|
| 28 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 29 |
COPY --chown=user . $HOME
|
| 30 |
|
| 31 |
+
# Clone and run ea4all-agentic-system
|
| 32 |
+
RUN git clone https://avfranco:$(cat cli_token)@huggingface.co/spaces/avfranco/ea4all_agentic_live
|
| 33 |
+
WORKDIR /home/user/ea4all_agentic_live
|
| 34 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 35 |
|
| 36 |
+
# Install graphviz dependency
|
| 37 |
+
USER root
|
| 38 |
+
RUN apt-get update \
|
| 39 |
+
&& xargs -a packages.txt apt-get install -y \
|
| 40 |
+
&& apt-get clean
|
| 41 |
+
USER user
|
| 42 |
|
| 43 |
CMD ["python","app.py"]
|