olegman / anny

Slim docker container image ANNY = Alpine + Nginx + Node.js + Yarn

Home Page:https://hub.docker.com/r/izonder/anny/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ANNY - a slim docker container image

ANNY = Alpine + Nginx + Node.js + Yarn

Build Status

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.

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"]

About

Slim docker container image ANNY = Alpine + Nginx + Node.js + Yarn

https://hub.docker.com/r/izonder/anny/

License:MIT License


Languages

Language:Dockerfile 100.0%