reycn commited on
Commit
9f69682
1 Parent(s): a652751

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -9
Dockerfile CHANGED
@@ -2,18 +2,12 @@ FROM python:3.12
2
 
3
  WORKDIR /app
4
 
5
- COPY . .
6
-
7
  ENV PYTHONUNBUFFERED=1
8
 
9
- RUN apt-get update && apt-get install -y libgl1 git
10
-
11
- RUN git clone https://github.com/Byaidu/PDFMathTranslate.git
12
-
13
- RUN cd PDFMathTranslate
14
-
15
- RUN pip install .
16
 
 
17
  RUN mkdir -p /data
18
  RUN chmod 777 /data
19
  RUN mkdir -p /app
 
2
 
3
  WORKDIR /app
4
 
 
 
5
  ENV PYTHONUNBUFFERED=1
6
 
7
+ RUN apt-get update && apt-get install -y libgl1 \
8
+ && rm -rf /var/lib/apt/lists/*
 
 
 
 
 
9
 
10
+ RUN pip install pdf2zh
11
  RUN mkdir -p /data
12
  RUN chmod 777 /data
13
  RUN mkdir -p /app