Hi Sebastien,
Many thanks for the super fast response! I am working on a case to get my employer to formally reach out to Kitware for some support, but in the meantime I appreciate your help in these forums.
I do indeed have trame-vtklocal
listed as a dependency for my app. I worked around the issue by including
# symlink the __trame_vtklocal directory so that the server can serve the static files
RUN mkdir -p /deploy/server/www/__trame_vtklocal && mkdir -p /deploy/server/www/__trame_vtklocal \
&& ln -s /deploy/server/venv/lib/python3.10/site-packages/trame_vtklocal/module/serve/js /deploy/server/www/__trame_vtklocal \
&& ln -s /deploy/server/venv/lib/python3.10/site-packages/trame_vtklocal/module/serve/wasm /deploy/server/www/__trame_vtklocal
in my container which seems to work well enough. The .wasm
files are loaded on the first user connection - I’ll try the initialize.sh
addition to speed that up.
My current issue is that my deployment is into a kubernetes cluster where we have securityContext.runAsNonRoot: true
. This means I am unable to deploy the application, as it appears to run as root.
Is there something simple I could change to avoid this?