Skip to content

[Bug] setting APP_CONFIG environment variable failing with "Permission denied" #5485

@Ujjwal766

Description

@Ujjwal766

Describe the Bug

I am trying to configure custom dicom web service using APP_CONFIG env variable, but during container startup its failing with below error

--Error--

Using custom APP_CONFIG environment variable
/usr/src/entrypoint.sh: line 11: can't create /usr/share/nginx/html/app-config.js: Permission denied
app-config.js is empty. Skipping compression.

I already raised a PR before for this which didnt properly fixed it, this requires 667 permission for nginx user to be able to edit the entrypoint.sh

Image

Steps to Reproduce

Download and use ohif v3.12-beta
set APP_CONFIG env with custom dicom web server
Start the container
Error of "permission denied" in container logs

The current behavior

ohif shows error and doesnt pick custom dicom web server

The expected behavior

OHIF container should start without failure similar to v3.9 and should point to custom dicom web server provided in APP_CONFIG env

System Information

window 10

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions