Skip to content

Instantly share code, notes, and snippets.

@ecc1
Created December 4, 2015 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ecc1/f5c17f6b1bb981b12aa0 to your computer and use it in GitHub Desktop.
Save ecc1/f5c17f6b1bb981b12aa0 to your computer and use it in GitHub Desktop.
FROM debian
RUN apt-get update && apt-get install -y \
npm \
nodejs-legacy \
git
COPY . /src
WORKDIR /src
# bootstrap to recent version of npm
RUN npm --global install npm
RUN npm install --unsafe-perm
EXPOSE 1337
CMD ["node", "server.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment