reycn commited on
Commit
f2ed019
1 Parent(s): 67fe4c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -2,12 +2,14 @@ FROM python:3.12
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
 
2
 
3
  WORKDIR /app
4
 
5
+ COPY . .
6
+
7
  ENV PYTHONUNBUFFERED=1
8
 
9
+ RUN apt-get update && apt-get install -y libgl1
10
+
11
+ RUN pip install .
12
 
 
13
  RUN mkdir -p /data
14
  RUN chmod 777 /data
15
  RUN mkdir -p /app