blob: d1b4231554f50b2a8fadcae94e4fd171d6098ef8 (
plain)
1
2
3
4
5
6
7
8
|
FROM node:8.11.1
RUN mkdir -p /opt/app
COPY *.js /opt/app/
COPY package.json /opt/app/
WORKDIR /opt/app
RUN npm install --only=production
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/node", "healthcheck.js"]
|