Gulp, sass, node, ssh, bower and pm2
368
This docker file contains the following programs
In the docker file are samples of the following actions (commented out)
{
"apps": [
{
"name": "api",
"script": "server.js",
"merge_logs": true,
"max_restarts": 20,
"instances": 1,
"max_memory_restart": "200M",
"env": {
"PORT": 8888,
"NODE_ENV": "development"
}
}
]
}
---
-- Dockerfile
-- docs
-- .dockerignore
-- nodeapp
-- application code
-- processes.json
-- homedir
.ssh
FROM donhenton/docker-gulp-sass-node
ADD . /var/www/app/current
EXPOSE 3000
WORKDIR /var/www/app/current
CMD ["pm2", "start", "processes.json", "--no-daemon"]
node_modules WILL be copied to image
Content type
Image
Digest
Size
63.9 MB
Last updated
almost 7 years ago
docker pull donhenton/docker-gulp-sass-node