[PR #3409] chore: remove the COPY instruction in .devcontainer/Dockerfile #24114

Closed
opened 2026-02-21 20:22:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/3409

State: closed
Merged: Yes


Description

Hello,

This PR makes a simple change to remove the COPY instruction in the .devcontainer/Dockerfile file.
It will copy the source files to / root, which seems unnecessary because devcontainer will auto mount the project workspace.
As we can see below:

Screenshot 2024-04-12 at 15 25 41

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested from my local.

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes
**Original Pull Request:** https://github.com/langgenius/dify/pull/3409 **State:** closed **Merged:** Yes --- # Description Hello, This PR makes a simple change to remove the `COPY` instruction in the `.devcontainer/Dockerfile` file. It will copy the source files to `/` root, which seems unnecessary because devcontainer will auto mount the project workspace. As we can see below: <img width="1021" alt="Screenshot 2024-04-12 at 15 25 41" src="https://github.com/langgenius/dify/assets/3882561/86f9fcbf-a0e2-4c94-83c5-e699605dfccc"> ## Type of Change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? Tested from my local. # Suggested Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] My changes generate no new warnings - [ ] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods - [ ] `optional` I have made corresponding changes to the documentation - [ ] `optional` I have added tests that prove my fix is effective or that my feature works - [ ] `optional` New and existing unit tests pass locally with my changes
yindo added the pull-request label 2026-02-21 20:22:23 -05:00
yindo closed this issue 2026-02-21 20:22:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24114