mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
1f76cd6c6b
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
15 lines
347 B
Docker
15 lines
347 B
Docker
FROM node:20-alpine AS runtime
|
|
|
|
RUN apk upgrade --update && apk add \
|
|
coreutils \
|
|
antiword \
|
|
poppler-utils \
|
|
html2text \
|
|
unrtf
|
|
ENV NODE_ENV=production
|
|
WORKDIR /usr/src/app
|
|
RUN npm install --ignore-scripts=false --verbose sharp@v0.30.2 pdfjs-dist@v2.12.313 --unsafe-perm
|
|
COPY bundle/bundle.js ./
|
|
EXPOSE 4004
|
|
CMD [ "node", "./bundle.js" ]
|