I’m trying to setup inji web wallet from this repo:
I am able to build the docker image as instructed in the README, but when I try to run the image it exits immedietly:
docker run -it -d -p 3000:3000 wallet-service:latest
This is the log in the docker output
2024-11-14 12:00:27 2024/11/14 06:30:27 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:27 nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:27 2024/11/14 06:30:27 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
2024-11-14 12:00:27 nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
2024-11-14 12:00:55 generating env-config file
2024-11-14 12:00:55 ./configure_start.sh: line 6: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:55 ./configure_start.sh: line 7: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:55 ./configure_start.sh: line 8: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:55 generation of env-config file completed!
2024-11-14 12:00:55 2024/11/14 06:30:55 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:55 nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:55 2024/11/14 06:30:55 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
2024-11-14 12:00:55 nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
2024-11-14 12:00:56 generating env-config file
2024-11-14 12:00:56 ./configure_start.sh: line 6: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:56 ./configure_start.sh: line 7: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:56 ./configure_start.sh: line 8: /usr/share/nginx/html/env.config.js: Permission denied
2024-11-14 12:00:56 generation of env-config file completed!
2024-11-14 12:00:56 2024/11/14 06:30:56 [warn] 1#1: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:56 nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:2
2024-11-14 12:00:56 2024/11/14 06:30:56 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)
2024-11-14 12:00:56 nginx: [emerg] mkdir() "/var/cache/nginx/client_temp" failed (13: Permission denied)