Sensei13k commited on
Commit
acb6e83
·
verified ·
1 Parent(s): ef86e77

Update dockerfile

Browse files
Files changed (1) hide show
  1. 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
- # Set the working directory
 
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
- # Copy the rest of the application code
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"]