Skip to content

Commit

Permalink
feat (gui, docker): ci sync
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn authored Nov 23, 2024
1 parent f9eeb62 commit 592963b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile.Demo
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ FROM python:3.12

WORKDIR /app

COPY . .

ENV PYTHONUNBUFFERED=1

RUN apt-get update && apt-get install -y libgl1 \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y libgl1

RUN pip install .

RUN pip install pdf2zh
RUN mkdir -p /data
RUN chmod 777 /data
RUN mkdir -p /app
Expand All @@ -17,4 +19,4 @@ RUN chmod 777 /.cache
RUN mkdir -p ./gradio_files
RUN chmod 777 ./gradio_files

CMD ["pdf2zh", "-i"]
CMD ["pdf2zh", "-i"]

0 comments on commit 592963b

Please sign in to comment.