baxin commited on
Commit
0e1eb0a
·
verified ·
1 Parent(s): 799db5a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -11,12 +11,19 @@ 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 the current directory contents into the container at /app
16
  #COPY . /app
 
 
 
 
 
 
17
 
18
  # Install any needed packages specified in requirements.txt
19
- RUN pip install --no-cache-dir -r requirements.txt
20
 
21
  # Make port 7860 available to the world outside this container
22
  #EXPOSE 7860
 
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
+ RUN pip install gradio pytesseract Pillow
15
 
16
  # Copy the current directory contents into the container at /app
17
  #COPY . /app
18
+ # Copy your app code
19
+ COPY app.py ./
20
+
21
+ # Expose the port your app listens on
22
+ EXPOSE 7860
23
+
24
 
25
  # Install any needed packages specified in requirements.txt
26
+ # RUN pip install --no-cache-dir -r requirements.txt
27
 
28
  # Make port 7860 available to the world outside this container
29
  #EXPOSE 7860