Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse filesclean up Dockerfile
- Dockerfile +2 -10
Dockerfile
CHANGED
@@ -11,23 +11,15 @@ RUN apt-get install -y libtesseract-dev
|
|
11 |
RUN apt-get install -y libgl1-mesa-glx
|
12 |
RUN apt-get install -y libglib2.0-0
|
13 |
RUN pip install --upgrade pip
|
14 |
-
|
15 |
COPY requirements.txt requirements.txt
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
-
|
18 |
-
#COPY . /app
|
19 |
# Copy your app code
|
20 |
COPY app.py ./
|
21 |
|
22 |
# Expose the port your app listens on
|
23 |
EXPOSE 7860
|
24 |
|
25 |
-
|
26 |
-
# Install any needed packages specified in requirements.txt
|
27 |
-
# RUN pip install --no-cache-dir -r requirements.txt
|
28 |
-
|
29 |
-
# Make port 7860 available to the world outside this container
|
30 |
-
#EXPOSE 7860
|
31 |
-
|
32 |
# Run app.py when the container launches
|
33 |
CMD ["python", "app.py"]
|
|
|
11 |
RUN apt-get install -y libgl1-mesa-glx
|
12 |
RUN apt-get install -y libglib2.0-0
|
13 |
RUN pip install --upgrade pip
|
14 |
+
|
15 |
COPY requirements.txt requirements.txt
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
+
|
|
|
18 |
# Copy your app code
|
19 |
COPY app.py ./
|
20 |
|
21 |
# Expose the port your app listens on
|
22 |
EXPOSE 7860
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
# Run app.py when the container launches
|
25 |
CMD ["python", "app.py"]
|