Last active
July 20, 2017 14:06
-
-
Save stpettersens/5f0fd387e9bef21f68158ca41110f708 to your computer and use it in GitHub Desktop.
Dockerfile for a Node.js-based application; based on @phusion 's base-image.
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
# | |
# Dockerfile for a Node.js-based application; derived from @phusion's container | |
# (Docker optimized Ubuntu 16.04 LTS system phusion/base-image:latest container | |
# - https://github.com/phusion/baseimage-docker/blob/master/image/Dockerfile). | |
# | |
# saintpettersens/docker-nodejs | |
# | |
FROM phusion/baseimage:latest | |
# Maintainer of this project. | |
MAINTAINER Sam Saint-Pettersen <[email protected]> | |
# Install Node.js. | |
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
RUN apt-get update && apt-get install -y nodejs | |
RUN echo "node $(node --version)" && echo "npm $(npm --version)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment