Created
January 27, 2015 05:51
-
-
Save sedouard/38b41c5e991c29ca8c8f to your computer and use it in GitHub Desktop.
An example of using Dockerfile for Nodejs with Dokku on an Ubuntu container
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
FROM ubuntu:trusty | |
MAINTAINER Steven Edouard <steven.edouard1@gmail.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update -y | |
RUN apt-get -qq update -y | |
RUN apt-get install -y nodejs npm -y | |
#install any specific things you need on this ubuntu box | |
VOLUME ["/data"] | |
ADD . /data | |
WORKDIR /data | |
CMD cd /data; npm install; npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment