593ec667a4
- Use docker library version of node - Assume dockerfile lives with sourcecode - Assume server can be started with `npm start` aka `node server.js` - Assumes all dependencies are listed in `package.json`
8 lines
129 B
Docker
8 lines
129 B
Docker
# Pull base image.
|
|
FROM node:0.10-onbuild
|
|
|
|
# Node base will default the command to `node server.js`.
|
|
|
|
# Expose port.
|
|
EXPOSE 3000
|