Pre-registration UI docker image creation issue

While running docker build for the pre-registration-ui, I’m getting this error.
chown: cannot access '/usr/share/nginx/html/assets/i18n': No such file or directory Error: error building at STEP "RUN chown -R ${container_user}:${container_user} ${base_path}/assets/i18n": error while running runtime: exit status 1

Can somebody help please?

Thank you.

Hello again,

Has someone ran into the issue above before?

I need your help please.

Thanks.

Which version are you running?

I’m running version 1.2.0.1

Joel

Hello,

Can you please use below command to do angular build:
ng build "--prod" "--base-href" "." "--output-path=dist"
Instead of
ng build "--prod" "--base-href" "."

After that you can do docker build
docker build -t preregui .

And to run docker image:
docker run -d -p 8080:8080 --name nginx preregui

Access from browser:
http://localhost:8080/pre-registration-ui/#/eng