docker-node
docker-node copied to clipboard
ERROR: Cannot locate specified Dockerfile: Dockerfile - docker image nodejs v14
this is my docker-compose.yml file
version: '3.8'
services:
node:
image: node:14.15.1-alpine3.10
build:
context: .
dockerfile: Dockerfile
container_name: Notification_MicroService
working_dir: "/home/node/app"
environment:
- NODE_ENV=development
- PORT=5000
volumes:
- ./:/home/node/app
- node_modules:/home/node/app/node_modules
ports:
- "5000:5000"
command: "npm run dev"
networks:
- notification_microservice
networks:
notification_microservice:
driver: bridge
volumes:
dbdata:
node_modules:
note this working with image node:12.0.0