Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -10,15 +10,13 @@ RUN apt-get update && \
|
|
10 |
libleptonica-dev \
|
11 |
pkg-config \
|
12 |
poppler-utils \
|
13 |
-
&&
|
14 |
|
15 |
# Install Python dependencies
|
16 |
-
COPY requirements.txt requirements.txt
|
17 |
RUN pip install --no-cache-dir -r requirements.txt
|
18 |
|
19 |
# Copy your Gradio application code into the container
|
20 |
-
|
21 |
-
WORKDIR /app
|
22 |
|
23 |
# Specify the command to run your Gradio app
|
24 |
CMD ["python", "app.py"]
|
|
|
10 |
libleptonica-dev \
|
11 |
pkg-config \
|
12 |
poppler-utils \
|
13 |
+
&& apt-get clean
|
14 |
|
15 |
# Install Python dependencies
|
|
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
# Copy your Gradio application code into the container
|
19 |
+
ENV PATH="/usr/local/bin:${PATH}"
|
|
|
20 |
|
21 |
# Specify the command to run your Gradio app
|
22 |
CMD ["python", "app.py"]
|