Spaces:
Running
Running
file permission
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -8,5 +8,11 @@ RUN apt-get update && apt-get install -y libgl1 \
|
|
8 |
&& rm -rf /var/lib/apt/lists/*
|
9 |
|
10 |
RUN pip install pdf2zh
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
CMD ["pdf2zh", "-i"]
|
|
|
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
|
14 |
+
RUN chmod 777 /app
|
15 |
+
RUN mkdir -p ./gradio_files
|
16 |
+
RUN chmod 777 ./gradio_files
|
17 |
|
18 |
CMD ["pdf2zh", "-i"]
|