topcoder-platform / challenge-api

This microservice provides access and interaction with all sorts of Challenge data
16 stars 49 forks source link

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

Closed rakibansary closed 1 year ago

rakibansary commented 1 year ago

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.