Skip to content

fix: enable ecs-containers-readonly-access and update docker cmd #634

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

Merged
merged 1 commit into from
May 5, 2023

Conversation

rakibansary
Copy link
Contributor

  • Update tc-deploy-scripts to v1.4.15 to set environment variables for enabling ecs-containers-readonly-access
  • Modify Dockerfile to replace 'yarn start' with 'node /challenge-api/app.js' to ensure compatibility with read-only file systems

Enabling ecs-containers-readonly-access ensures that the container file system is read-only, reducing the risk of unauthorized modifications to the application files during runtime. Replacing 'yarn start' with 'node /challenge-api/app.js' addresses potential issues with Yarn requiring a writable file system for certain operations, ensuring a smooth deployment on a read-only environment.

- Update tc-deploy-scripts to v1.4.15 to set environment variables for enabling ecs-containers-readonly-access
- Modify Dockerfile to replace 'yarn start' with 'node /challenge-api/app.js' to ensure compatibility with read-only file systems

Enabling ecs-containers-readonly-access ensures that the container file system is read-only, reducing the risk of unauthorized modifications to the application files during runtime. Replacing 'yarn start' with 'node /challenge-api/app.js' addresses potential issues with Yarn requiring a writable file system for certain operations, ensuring a smooth deployment on a read-only environment.

Signed-off-by: Rakib Ansary <[email protected]>
@rakibansary rakibansary requested a review from Gunasekar-K May 5, 2023 07:41
@rakibansary rakibansary changed the title fix: Enable ecs-containers-readonly-access and update Docker CMD fix: enable ecs-containers-readonly-access and update docker cmd May 5, 2023
@rakibansary rakibansary merged commit 143a789 into dev May 5, 2023
@eisbilir eisbilir deleted the enable-ecs-containers-readonly-access branch September 16, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants