Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
-
|
|
|
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
|