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 includes changes to improve the handling of static files in the web application by modifying the Dockerfile and the Flask application routes. The most important changes include copying static files from the frontend build to a new directory and updating the routes to serve these files from the new location.
Changes to static file handling:
App/WebApp.Dockerfile
: Added commands to copyindex.html
andfavicon.ico
from the frontend build to the/usr/src/app/static/
directory.App/app.py
: Updated theserve_index
andfavicon
routes to serve files from thestatic
directory instead of thefrontend/build
directory.App/app.py
: Changed the route for serving static files from/assets/<path:path>
to/static/<path:path>
and updated the directory path accordingly.Does this introduce a breaking change?
Golden Path Validation - NA
Deployment Validation
What to Check
Verify that the following are valid
Other Information