Files
social-analyzer/Dockerfile
T
Tiny-PawsandGitHub 9a08986adb Exposing the service's port in the Dockerfile
This change enables docker users to use the -P flag to automatically map local ports to the exposed ports.
2020-12-31 09:55:39 +01:00

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