mirror of
https://github.com/qeeqbox/social-analyzer.git
synced 2026-08-30 03:29:36 +02:00
This change enables docker users to use the -P flag to automatically map local ports to the exposed ports.
11 lines
211 B
Docker
11 lines
211 B
Docker
FROM node:latest
|
|
RUN apt-get update && apt-get install -y firefox-esr tesseract-ocr
|
|
WORKDIR /usr/src/app
|
|
COPY package*.json ./
|
|
RUN npm install lodash
|
|
RUN npm install
|
|
COPY . .
|
|
|
|
EXPOSE 9005
|
|
CMD [ "npm", "start" ]
|