fix: apply code review
This commit is contained in:
parent
b7a03c986d
commit
7641826901
1 changed files with 5 additions and 4 deletions
|
|
@ -87,12 +87,13 @@ RUN apt-get update && apt-get install -y \
|
||||||
inkscape \
|
inkscape \
|
||||||
poppler-utils \
|
poppler-utils \
|
||||||
libva2 \
|
libva2 \
|
||||||
python3-numpy
|
python3-numpy \
|
||||||
|
libopengl0 && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# install calibre
|
# install calibre
|
||||||
COPY --from=builder-calibre /opt/calibre /opt/calibre
|
COPY --from=builder-calibre /opt/calibre /opt/calibre
|
||||||
RUN apt install -y libopengl0 && \
|
RUN /opt/calibre/calibre_postinstall
|
||||||
/opt/calibre/calibre_postinstall
|
|
||||||
|
|
||||||
# this might be needed for some latex use cases, will add it if needed.
|
# this might be needed for some latex use cases, will add it if needed.
|
||||||
# texmf-dist-fontsextra \
|
# texmf-dist-fontsextra \
|
||||||
|
|
@ -106,4 +107,4 @@ COPY . .
|
||||||
|
|
||||||
EXPOSE 3000/tcp
|
EXPOSE 3000/tcp
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
CMD [ "run", "./src/index.tsx" ]
|
ENTRYPOINT [ "bun", "run", "./src/index.tsx" ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue