You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the entrypoint script writes the env.js file to a root-owned folder, so starting the Docker container as non-root causes this to fail. One standard approach is to put env.js in a subfolder that can be mounted as a volume instead, like /var/www/html/env/env.js. That way the Docker container can be set to start as the same user who owns the mounted volume.
The /var/www/html/env/ directory can exist within the image (owned by root) so that anyone wanting to run the server like before, as root, it will still work fine.
The text was updated successfully, but these errors were encountered:
Currently the entrypoint script writes the
env.js
file to a root-owned folder, so starting the Docker container as non-root causes this to fail. One standard approach is to putenv.js
in a subfolder that can be mounted as a volume instead, like/var/www/html/env/env.js
. That way the Docker container can be set to start as the same user who owns the mounted volume.The
/var/www/html/env/
directory can exist within the image (owned by root) so that anyone wanting to run the server like before, as root, it will still work fine.The text was updated successfully, but these errors were encountered: