fix: Correct file paths in Dockerfile for backend requirements and code#480
Open
VishalSh-Microsoft wants to merge 1 commit into
Open
fix: Correct file paths in Dockerfile for backend requirements and code#480VishalSh-Microsoft wants to merge 1 commit into
VishalSh-Microsoft wants to merge 1 commit into
Conversation
VishalSh-Microsoft
requested review from
Avijit-Microsoft,
Roopan-Microsoft,
aniaroramsft,
dgp10801,
nchandhi and
toherman-msft
as code owners
July 17, 2026 11:04
VishalSh-Microsoft
temporarily deployed
to
production
July 17, 2026 11:04 — with
GitHub Actions
Inactive
VishalSh-Microsoft
temporarily deployed
to
production
July 17, 2026 11:04 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request fixes the backend Docker image build by updating COPY paths in docker/Backend.Dockerfile to be correct when building with the repository root as the Docker build context (as used by GitHub Actions and documented docker build ... . commands).
Changes:
- Update
COPYforrequirements.txttosrc/backend/requirements.txt. - Update
COPYfor backend source tosrc/backend/.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates the Docker build context for the backend service to use the correct relative paths when copying files into the Docker image. This ensures that the Docker build process works as expected when building from the repository root.
COPYcommands indocker/Backend.Dockerfileto usesrc/backend/requirements.txtandsrc/backend/instead of../src/backend/requirements.txtand../src/backend/. This fixes file path issues during Docker image build.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation