-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[OHI-1547] fix(docker): run compression regardless of APP_CONFIG being present ( in cases such as volume mount) #4673
Conversation
✅ Deploy Preview for ohif-platform-docs canceled.
|
✅ Deploy Preview for ohif-dev canceled.
|
Viewers Run #4669
Run Properties:
|
Project |
Viewers
|
Branch Review |
fix/docker
|
Run status |
Passed #4669
|
Run duration | 02m 08s |
Commit |
ba3c79ba12: updates
|
Committer | Ibrahim |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
2
|
Skipped |
0
|
Passing |
44
|
View all changes introduced in this branch ↗︎ |
echo "Not using custom app config" | ||
|
||
if [ -f /usr/share/nginx/html${PUBLIC_URL}app-config.js ]; then | ||
if [ -s /usr/share/nginx/html${PUBLIC_URL}app-config.js ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if empty
then | ||
echo "Not using custom app config" | ||
|
||
if [ -f /usr/share/nginx/html${PUBLIC_URL}app-config.js ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check if exists
Thank you for fixing that. |
Yes, let me do that, thanks Bill |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
I merged too quick sorry |
Context
Docker compression step was not being triggered if APP_CONFIG is not present, but it should still do if a user mounts a file using volumes.
Fixes OHIF-1547
Closes #4669