Skip to content

codehz/base-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CodeHz's node image

A Experiment to build world's most minimalist node image.

Usage:

FROM codehz/node:latest AS builder

WORKDIR /build/app
ADD . /build/app
RUN npm i --unsafe-perm && npm prune
RUN /packager.sh -d /usr/bin/node /build

FROM scratch

COPY --from=builder /build /