| 12345678910111213141516171819202122232425262728293031 | FROM node:10-slim# add curl for healthcheckRUN apt-get update \    && apt-get install -y --no-install-recommends \    curl \    && rm -rf /var/lib/apt/lists/*# Add Tini for proper init of signalsENV TINI_VERSION v0.19.0ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tiniRUN chmod +x /tiniWORKDIR /app# have nodemon available for local dev use (file watching)RUN npm install -g nodemonCOPY package*.json ./RUN npm ci \ && npm cache clean --force \ && mv /app/node_modules /node_modulesCOPY . .ENV PORT 80EXPOSE 80CMD ["/tini", "--", "node", "server.js"]
 |