Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 377 Bytes
FROM ubuntu:vivid
MAINTAINER Ben Creasy <contact@bencreasy.com>
ENV DEBIAN_FRONTEND noninteractive
# ENV NODE_ENV production
RUN apt-get update -y
RUN apt-get -qq update -y
RUN apt-get install -y nodejs npm sqlite3 -y
RUN ln -s /usr/bin/nodejs /usr/bin/node
RUN mkdir /app
VOLUME /home/persistence
ADD . /app
WORKDIR /app
CMD npm install --production; npm start --production