feat : optimize code for pull request reviewer comments
This commit is contained in:
parent
2e7d559280
commit
695a17a24a
3 changed files with 5 additions and 19 deletions
|
|
@ -74,7 +74,7 @@ RUN apt-get update && apt-get install -y \
|
|||
texlive-latex-extra \
|
||||
texlive-latex-recommended \
|
||||
texlive-xetex \
|
||||
texlive-lang-chinese \
|
||||
texlive-lang-chinese \
|
||||
fonts-noto-cjk \
|
||||
fonts-wqy-zenhei \
|
||||
fonts-wqy-microhei \
|
||||
|
|
@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y \
|
|||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /usr/share/fonts/truetype/chinese && \
|
||||
ln -sf /usr/share/fonts/truetype/noto /usr/share/fonts/truetype/chinese/noto && \
|
||||
ln -sf /usr/share/fonts/opentype/noto /usr/share/fonts/truetype/chinese/noto && \
|
||||
fc-cache -f -v
|
||||
|
||||
# Install VTracer binary
|
||||
|
|
@ -111,4 +111,6 @@ EXPOSE 3000/tcp
|
|||
# used for calibre
|
||||
ENV QTWEBENGINE_CHROMIUM_FLAGS="--no-sandbox"
|
||||
ENV NODE_ENV=production
|
||||
ENV LANG=zh_CN.UTF-8
|
||||
ENV LC_ALL=zh_CN.UTF-8
|
||||
ENTRYPOINT [ "bun", "run", "dist/src/index.js" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue