This commit is contained in:
Joachim Bauch 2024-09-17 01:46:16 +00:00 committed by GitHub
commit 6bee0e8287
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,18 @@
FROM nikolaik/python-nodejs:python3.9-nodejs15
FROM node:17
ADD . /app
ADD docker/config.js.docker /app/config.js
RUN apt-get update || : && apt-get install pdftk python-pypdf2 -y
RUN apt-get update && \
apt-get install -y --no-install-recommends \
pdftk \
python3 \
python3-pip \
python3-pypdf2
WORKDIR /app
RUN pip install svglib
RUN npm install
RUN npm install
CMD ["node", "server.js"]
CMD ["node", "server.js"]