sample-app-aoai-chatGPT icon indicating copy to clipboard operation
sample-app-aoai-chatGPT copied to clipboard

Grant ownership to the package JSON file for installation step

Open SzilvasiPeter opened this issue 1 year ago • 1 comments

Motivation and Context

The change is required for local development when building docker images for testing purposes.

It fixes the #1083 issue.

Description

The npm ci is not able to run if it has no ownership over the package.json files. Similar to other COPY phase, the --chown=node:node option was added.

Contribution Checklist

  • [x] I have built and tested the code locally and in a deployed app
  • [x] For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • [x] This is a change for all users of this app. No code or asset is specific to my use case or my organization.
  • [x] I didn't break any existing functionality :smile:

SzilvasiPeter avatar Sep 06 '24 10:09 SzilvasiPeter