Created
December 4, 2015 19:14
-
-
Save ecc1/f5c17f6b1bb981b12aa0 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 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