Permission denied when executing py file

After building my container and trying to execute the code I am getting a permission denied error. python3 can't open file /home/app-root/data.py I have to change the user to root. How do I run using RUNID .

Rhel8
docker version 27.3
api version: 1.47

The run script to start my container

export RUNID=$(id -u data):$(id -g data_sync)

inside of the script I can echo and it returns 10:200
does that mean the user or the group do not have execute permissions?

My docker-compose.yml file

version:
services:
      find_file
       ......
     user: ${RUNID}

My Dockerfile

WORKDIR ...
USER root

The Dockerfile uid/gid is used to create files in the image.

Then you run the container with user uid/gid stated in compose.

You have to set the correct user or file permissions.

I used

setfacl -m u:data:rw /path to file
setfacl -m g:data_sync:r /path to file
export RUNID=$(id -u data):$(id -g data_sync)

I have also used rwx for both groups and I am still getting permission denied. If i switch back to root I am about to execute the file. But the RUNID user can not.
I started with rw because those are the permissions that it appears root has.

It was some permission issue with the user. Admins fixed it. Thanks