OpenLiberty Docker image sample application not workng

I have created my own Docker image using following Dockerfile:-

FROM open-liberty:webProfile8
COPY mysample.war /config/dropins/
COPY server.xml /config/

Docker image got generated with some warning:-

Successfully built cc05c3d94adf Successfully tagged
sampleopenlibty:latest SECURITY WARNING: You are building a Docker
image from Windows against a non-Windows Docker host. All files and
directories added to build context will have ‘-rwxr-xr-x’ permissions.
It is recommended to double check and reset permissions for sensitive files and directories.

I pushed this image to Azure Container Repository and created an App Service out of it but whenever I browse to the Web-App instead of showing my custom/sample web app it shows the out of the box PAGE of Open Liberty.

Can someone please help me what I would have done wrong to fix this issue?

Thank you

Source: Dockerfile Questions

LEAVE A COMMENT