Skip to content

Rootless Studio docker image #2206

@YassineElbouchaibi

Description

@YassineElbouchaibi

Component(s)

studio

Is your feature request related to a problem? Please describe.

Currently when I attempt to run the Studio docker image as a non-root user, it fails. The logs show this:

Detected env 'NEXT_PUBLIC_COSMO_CP_URL'
sed: can't create temp file './studio/.next/BUILD_IDXXXXXX': Permission denied
Detected env 'NEXT_PUBLIC_COSMO_STUDIO_URL'
sed: can't create temp file './studio/.next/BUILD_IDXXXXXX': Permission denied
Skipping comment or empty line
Skipping comment or empty line
   ▲ Next.js 15.2.4
   - Local:        http://localhost:3000/
   - Network:      http://0.0.0.0:3000/
 
✓ Starting...
✓ Ready in 1040ms

Describe the solution you'd like

The studio should be able to start even if not root

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinternally-reviewedThe issue has been reviewed internally.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions