Spaces:
Build error
Build error
Update dockerfile
Browse files- dockerfile +4 -8
dockerfile
CHANGED
@@ -6,17 +6,13 @@ RUN apt-get update && apt-get install -y \
|
|
6 |
libtesseract-dev \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
-
#
|
|
|
10 |
WORKDIR /app
|
11 |
|
12 |
-
# Copy the requirements.txt file
|
13 |
-
COPY requirements.txt ./
|
14 |
-
|
15 |
# Install Python dependencies
|
|
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
-
#
|
19 |
-
COPY . .
|
20 |
-
|
21 |
-
# Run the Gradio app
|
22 |
CMD ["python", "app.py"]
|
|
|
6 |
libtesseract-dev \
|
7 |
&& rm -rf /var/lib/apt/lists/*
|
8 |
|
9 |
+
# Copy your app files
|
10 |
+
COPY . /app
|
11 |
WORKDIR /app
|
12 |
|
|
|
|
|
|
|
13 |
# Install Python dependencies
|
14 |
+
COPY requirements.txt /app/requirements.txt
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|
16 |
|
17 |
+
# Run your Gradio app
|
|
|
|
|
|
|
18 |
CMD ["python", "app.py"]
|