Spaces:
Runtime error
Runtime error
Nu Appleblossom
commited on
Commit
·
bbe5e16
1
Parent(s):
cfadb8a
added path info
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ FROM python:3.10-slim
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
-
COPY . /app
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
@@ -13,6 +13,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
13 |
# Install Graphviz system package
|
14 |
RUN apt-get update && apt-get install -y graphviz
|
15 |
|
|
|
|
|
|
|
16 |
# Make port 7860 available to the world outside this container
|
17 |
EXPOSE 7860
|
18 |
|
|
|
5 |
WORKDIR /app
|
6 |
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
+
COPY . /app
|
9 |
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
13 |
# Install Graphviz system package
|
14 |
RUN apt-get update && apt-get install -y graphviz
|
15 |
|
16 |
+
# Explicitly add the Graphviz binaries to the PATH
|
17 |
+
ENV PATH="/usr/bin:${PATH}"
|
18 |
+
|
19 |
# Make port 7860 available to the world outside this container
|
20 |
EXPOSE 7860
|
21 |
|