Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Changes Not Reflecting in Docker Container #3246

Open
AbhigyanSrivastav opened this issue Oct 13, 2024 · 4 comments · May be fixed by #3300
Open

File Changes Not Reflecting in Docker Container #3246

AbhigyanSrivastav opened this issue Oct 13, 2024 · 4 comments · May be fixed by #3300
Labels

Comments

@AbhigyanSrivastav
Copy link
Contributor

AbhigyanSrivastav commented Oct 13, 2024

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:
Copy link

welcome bot commented Oct 13, 2024

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@AbhigyanSrivastav AbhigyanSrivastav changed the title ERESOLVE Dependency Conflict with ESLint and eslint-config-airbnb File Changes Not Reflecting in Docker Container Oct 13, 2024
@adwaitanand
Copy link

Hey @AbhigyanSrivastav were you able to resolve this issue? Even i am facing the exact same issue need help

@shauryatiwari1
Copy link

Hi , i have created a PR that i think should solve this problem , review required

@shauryatiwari1
Copy link

Hey! , I have checked this issue again and i think there is no problem now , the file syncing works even without ":cached" (though i think it will fix that if its not working without it) . I think that this issue #3246 can be closed now!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants