ANNY - a slim docker container image
ANNY = Alpine + Nginx + Node.js + Yarn
Breaking changes
Due to Node.js LTS schedule we have released major upgrade, which contains:
- Alpine Linux v3.10.x
- Node.js v12.x.x
- Yarn v1.x.x
- S6-overlay v1.20.x.x
- Nginx v1.16.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
.
Supported tags and respective Dockerfile
links
latest
(Dockerfile)12
(Dockerfile)10
(Dockerfile)8
(Dockerfile)6
(Dockerfile)
Features
- Alpine linux as base-image
- S6-overlay to run multiple processes in container
- Nginx with basic configuration
- Node.js (without NPM)
- Yarn package manager
How to use?
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"]