Spaces:
Build error
Build error
use sudo for graphiz install
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -21,7 +21,7 @@ WORKDIR $HOME/app
|
|
21 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
-
RUN apt install -y graphviz
|
25 |
|
26 |
# WORKDIR /code
|
27 |
|
@@ -31,4 +31,4 @@ RUN pip install --no-cache-dir --upgrade -r $HOME/app/requirements.txt
|
|
31 |
|
32 |
COPY . .
|
33 |
|
34 |
-
CMD ["streamlit", "run", "app.py", "--server.address", "0.0.0.0"]
|
|
|
21 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
22 |
COPY --chown=user . $HOME/app
|
23 |
|
24 |
+
RUN sudo apt install -y graphviz
|
25 |
|
26 |
# WORKDIR /code
|
27 |
|
|
|
31 |
|
32 |
COPY . .
|
33 |
|
34 |
+
CMD ["streamlit", "run", "app.py", "--server.address", "0.0.0.0"]
|