Skip to content

Instantly share code, notes, and snippets.

@remarkablemark
remarkablemark / Dockerfile
Last active September 2, 2024 23:57
Install node and npm with nvm using Docker.
# set the base image to Debian
# https://hub.docker.com/_/debian/
FROM debian:latest
# replace shell with bash so we can source files
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# update the repository sources list
# and install dependencies
RUN apt-get update \