NodeJS+Expressjs+Nodemon for dev and production use. Expressjs folder structure included.
1.0K
/usr/src/app3000STARTMODE=dev to run under nodemon environment.dev run express app with nodemon.production run express app without nodemon.docker run --name my-api -d --rm --env STARTMODE=dev -p 3000:3000 iamapinan/expressjs-with-nodemon:latest
version: '3'
services:
api:
image: iamapinan/expressjs-with-nodemon:latest
restart: always
environment:
STARTMODE=production
ports:
- 3000:3000
Content type
Image
Digest
Size
44.5 MB
Last updated
about 6 years ago
docker pull iamapinan/expressjs-with-nodemon