Created
July 25, 2024 11:30
-
-
Save cptpiepmatz/abf71e83569b401ad731eee813899b2a to your computer and use it in GitHub Desktop.
Dockerfile for globally installing NPM packages. Specify the desired packages via the `PACKAGES` argument to easily set up your environment with Docker Compose.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG NODE_VERSION=latest | |
FROM node:${NODE_VERSION} | |
ARG PACKAGES | |
RUN npm install -g ${PACKAGES} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment