platform/services/rekoni/Dockerfile
Andrey Sobolev 1f76cd6c6b
UBERF-7734: Fix total with find with limit === 1 (#6187)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2024-07-30 21:44:18 +07:00

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" ]