]> git.proxmox.com Git - mirror_xterm.js.git/commit
Improve the Docker image
authorAntonis Kalipetis <akalipetis@gmail.com>
Mon, 12 Dec 2016 14:37:23 +0000 (16:37 +0200)
committerAntonis Kalipetis <akalipetis@gmail.com>
Wed, 28 Dec 2016 16:45:18 +0000 (18:45 +0200)
commit6b6314227e2ffdb7aa3f6f0d4503fb0dc580b7a4
treec936bcb8774fc7c27b2482737913852c344fb32b
parent1e0eb3784ec5519b214c82895f7c74d356fade62
Improve the Docker image

1. Bump Node version to 6.9 - the latest LTS
2. Include the `cpio` binary, used during building
3. Ignore node_modules and .git directories for faster builds
4. Run the tests and build during the image build, to make sure the image is not built if these break
5. Make npm run dev the default command
6. Add an entrypoint to automatically install Node modules if they do nott exist

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
.dockerignore [new file with mode: 0644]
Dockerfile
docker-compose.yaml [new file with mode: 0644]
entrypoint.sh [new file with mode: 0755]