Skip to content

Instantly share code, notes, and snippets.

@osher
Last active May 8, 2023 12:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osher/a5a302ace1f823ef400a1915dbdcd5da to your computer and use it in GitHub Desktop.
Save osher/a5a302ace1f823ef400a1915dbdcd5da to your computer and use it in GitHub Desktop.
A dockerfile to create a base image for building npm packages
ARG TAG_NODE_BASE=lts
FROM node:$TAG_NODE_BASE
WORKDIR /app
RUN apk update --no-cache \
&& apk upgrade --no-cache \
&& apk add --no-cache \
build-base \
openssh \
python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment