Created
April 9, 2016 14:46
-
-
Save franrios/99dbfe13d5a9d6d5e6831bb6c0275857 to your computer and use it in GitHub Desktop.
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:14.04 | |
MAINTAINER Fran Rios [email protected] | |
# to avoid some problems: | |
# debconf: unable to initialize frontend: Dialog | |
ENV DEBIAN_FRONTEND noninteractive | |
# Install Nodejs... | |
RUN apt-get update && apt-get install -y nodejs npm | |
# Copy app to /src | |
COPY . /src | |
# Install app and dependencies into /src | |
RUN cd /src; npm install | |
#Show in our container | |
EXPOSE 8080 | |
#Run the app | |
CMD cd /src && nodejs ./index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment