support dockerfiles without expose command. closes #1083

This commit is contained in:
Michael Hobbs
2015-04-03 12:13:39 -07:00
parent 5c938fee8a
commit c2053d5322
7 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
FROM ubuntu:trusty
ENV LC_ALL C
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
RUN apt-get install -y software-properties-common && add-apt-repository ppa:chris-lea/node.js && apt-get update
RUN apt-get install -y build-essential curl postgresql-client-9.3 nodejs git
COPY . /app
WORKDIR /app
RUN npm install
CMD npm start