Node image with docker in docker strategy used as base image.
Supported tags and respective Dockerfile links:
test, latest, 1.0.0
- docker
v17.11.0-ce-rc2 - docker-compose
v1.17.1 - git
v2.13.5 - node
v8.5.0 - npm
v5.5.1
FROM redpandaci/node-dind:latest
WORKDIR /app
ADD . .
RUN npm install --production
EXPOSE 3000
CMD ["node", "index.js"]- run
npm install - upgrade Dockerfile
- run
npm testorbin/test.sh - commit your changes
- publish new image
This project only uses npm to do commit validations and verify Dockerfile coding style.