docker-node icon indicating copy to clipboard operation
docker-node copied to clipboard

ERROR: Cannot locate specified Dockerfile: Dockerfile - docker image nodejs v14

Open dash7ou opened this issue 4 years ago • 0 comments

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

dash7ou avatar Nov 22 '20 17:11 dash7ou