p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

File Changes Not Reflecting in Docker Container

Open AbhigyanSrivastav opened this issue 4 months ago • 1 comments

File Changes Not Reflecting in Docker Container

Environment:

  • OS: Windows
  • WSL2: Enabled
  • Docker: Using Docker Desktop with WSL2 integration

Description: I am trying to set up this project locally using Docker with the provided development Docker Compose setup. However, I am facing an issue where changes made to the files on my local machine are not reflecting in the Docker container.

Docker Compose Configuration:

services:
  mongo:
    image: mongo:5.0
    volumes:
      - dbdata:/data/db
  app:
    build:
      context: ./
      dockerfile: Dockerfile
      target: development
    environment:
      - MONGO_URL=mongodb://mongo:27017/p5js-web-editor
    volumes:
      - .:/usr/src/app
      - /usr/src/app/node_modules
    ports:
      - '8000:8000'
      - '8002:8002'
    depends_on:
      - mongo
volumes:
  dbdata:

AbhigyanSrivastav avatar Oct 13 '24 04:10 AbhigyanSrivastav