How to access swagger UI of bwce running in a docker container?

I tried accessing the swagger UI through url http://<host>:7777/<appliation_name> of application running in a docker container but getting HTTP 404 error. However, I am able to access service hosted in the application using service port.

I have exposed 2 ports while creating application image, 7777 (for swagger UI) and 8123 for service.

Below is the dockerFile used to create application image:

FROM tibco/bwce
ADD tibco.bw.sample.binding.rest.BookStore.application_1.0.0.ear /
EXPOSE 8123  
EXPOSE 7777

 

Login