I created a custom dockerfile. I want to start the container with a non-root user. However, I still couldn't.
Dockerfile
FROM syspass/syspass:3.2.2
# Create the user in a group of the same name and associate the application directory.
RUN groupadd -g 1000 myuser && useradd -r -m -u 1000 -g myuser myuser
USER myuser
I created a custom dockerfile. I want to start the container with a non-root user. However, I still couldn't.
Dockerfile
Logs:
Could you give me a tip on how to run the container with a non-root user?