Cookbook application REST module.
Application runs on port 3001.
MongoDB must be running and environment variables must be provided:
MONGO_HOSTMONGO_PORTnpm install
npm start
For development change start script command in package.json to:
"start": "nodemon Server.js"
# Build image
docker build -t cookbook-rest .
# List images
docker images
# Tag image with VERSION
docker tag cookbook-web nkuba/cookbook-rest:${VERSION}
# Push image to Docker Hub
docker push nkuba/cookbook-rest
Content type
Image
Digest
Size
34.7 MB
Last updated
over 8 years ago
docker pull nkuba/cookbook-rest