1 min readJun 17, 2019
Hello Kiran, I’m, glad you find this tutorial helpful. The Dockerfile used for those images is the following one:
FROM node:10.15-alpine
RUN apk update && apk add curl
HEALTHCHECK --interval=5s --timeout=3s --retries=3 \
CMD curl -f http://localhost:8000/whoami || exit 1
COPY package.json /app/package.json
WORKDIR /app
RUN npm install
COPY . /app
CMD ["npm", "start"]
I’ll update the article then.