You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
textract seems to be using the ...spread operator which won't work with the node 4.whatever hard coded in this file.
I had to do the following:
FROM sidhuko/textract
RUN npm i -g n && n stable
RUN apt-get update && apt-get install -y antiword
RUN npm install -g textract
COPY . /app
WORKDIR /app
ENTRYPOINT ["textract"]
(only the updating of node with n is relevant here, the other stuff is just things that I needed)
The text was updated successfully, but these errors were encountered:
textract seems to be using the
...spread
operator which won't work with the node 4.whatever hard coded in this file.I had to do the following:
(only the updating of node with
n
is relevant here, the other stuff is just things that I needed)The text was updated successfully, but these errors were encountered: