TourLover commited on
Commit
bf73f22
·
verified ·
1 Parent(s): fcb96b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -10,15 +10,13 @@ RUN apt-get update && \
10
  libleptonica-dev \
11
  pkg-config \
12
  poppler-utils \
13
- && rm -rf /var/lib/apt/lists/*
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
- COPY . /app
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"]