ANNY = Alpine + Nginx + Node.js + Yarn
Due to Node.js LTS schedule we have released major upgrade, which contains:
- Alpine Linux v3.18.x
- Node.js v18.x.x
- Yarn v1.x.x
- S6-overlay v3.1.x.x
- Nginx v1.24.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)18
(Dockerfile)16
(Dockerfile)14
(Dockerfile)12
(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 (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"]