Skip to content
This repository has been archived by the owner on Jan 9, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 436 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 436 Bytes

NodeJS image with Alpine Linux

for Docker lightweight containers - image size is about 90 Mb

Building image

docker build -t node .

How to use

# add to your Dockerfile
FROM <your docker registry URL>/node:latest

Configuration

Update this line to install necessary version of NodeJS, npm and Yarn.

# Set env variables
ENV NODE_VERSION="14.8.0" NPM_VERSION="6.14.7" YARN_VERSION="1.22.4"