This project is no longer maintained and has been archived. No further issues, PRs, or updates will be made.
Minimal Node.js Docker images built on Alpine Linux
Tags | Node | NPM | Alpine | Image |
---|---|---|---|---|
latest , 10.9.0 |
10.9.0 | 6.4.1 | 3.8.0 | 63.50 MB |
lts , 8.11.4 |
8.11.4 | 5.6.0 | 3.8.0 | 62.70 MB |
8.6.0 |
8.6.0 | 5.3.0 | 3.6.0 | 61.90 MB |
7.4.0 |
7.4.0 | 4.0.5 | 3.5.0 | 53.50 MB |
6.11.4 |
6.11.4 | 3.10.10 | 3.6.0 | 49.40 MB |
6.9.4 |
6.9.4 | 3.10.10 | 3.5.0 | 48.34 MB |
6.3.0 |
6.3.0 | 3.10.3 | 3.4.0 | 47.56 MB |
6.2.0 |
6.2.0 | 3.9.2 | 3.3.0 | 46.00 MB |
4.4.7 |
4.4.7 | 2.15.8 | 3.4.0 | 36.33 MB |
4.4.4 |
4.4.4 | 2.15.5 | 3.3.0 | 36.31 MB |
FROM 2toad/alpine-node:latest
# FROM 2toad/alpine-node:8.6.0
WORKDIR /src
ADD . .
RUN npm install
EXPOSE 3000
CMD ["node", "index.js"]
Alpine Linux uses musl, so you may run into some issues with environments expecting glibc (e.g., Kubernetes)
Inspired by: https://github.com/mhart/alpine-node