ANNY = Alpine + Nginx + Node.js + Yarn
Due to Node.js LTS schedule we have released major upgrade, which contains:
- Alpine Linux v3.8.x
- Node.js v10.x.x
- Yarn v1.x.x
- S6-overlay v1.20.x.x
- Nginx v1.14.x
Please make sure these changes won't affect your functionality. Also be aware the children images izonder/janny and izonder/lanny are also rebuilt based on izonder/anny:latest.
latest(Dockerfile)10(Dockerfile)8(Dockerfile)6(Dockerfile)
- Alpine linux as base-image
- S6-overlay to run multiple processes in container
- Nginx with basic configuration
- Node.js (fully-static without NPM)
- Yarn package manager
FROM izonder/anny:latest
...
# add new service
COPY ./service/myservice.sh /etc/services.d/myservice/run
...
# add nginx configuration
COPY ./nginx/myapp.conf /etc/nginx/conf.d/myapp.conf
...
# install dependencies
RUN yarn install
...
# entry point
CMD ["node", "myapp.js"]