Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add python (needed for nodegyp rebuild, will display error otherwise) - mkdir isn't needed, WORKDIR will create the directory if it doesn't exist - combine commands where possible to reduce the amount of docker layers - copy package*.json and install packages before doing the deploy so the install won't happen every time you modify a js/css file or other asset - bash not needed, sh/ash is available - install ncurses-libs, the app wouldn't start otherwise - do the chown when /app is still empty and add chown to the copy command, this saves docker from creating a large layer (about 10Mb) just for the permission changes - add a default cmd - use apk --no-cache so the cache doesn't get added to the image
- Loading branch information