Skip to content

Instantly share code, notes, and snippets.

@matutter
Last active March 28, 2016 00:07
Show Gist options
  • Select an option

  • Save matutter/f452037a9af897ae1f94 to your computer and use it in GitHub Desktop.

Select an option

Save matutter/f452037a9af897ae1f94 to your computer and use it in GitHub Desktop.
dependencies for server
FROM alpine:latest
MAINTAINER matutter
RUN apk --no-cache add nodejs
RUN apk --no-cache add git
RUN mkdir /home/www
WORKDIR /home/www
ADD package.json
RUN npm install
RUN npm ls --depth=0
RUN node -v
{
"name" : "depends",
"description" : "dependencies for server",
"dependencies" : {
"bootstrap" : "*",
"jquery" : "*",
"pug" : "*",
"socket.io" : "*",
"mime" : "*"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment