The Docker image (Windows-based) includes an application directory at C:\\App
. Inside that directory reside several sub-folders and files, including a batch file ca
If /App
is a mounted volume then you should specify VOLUME /App
before WORKDIR
to use it with ENTRYPOINT
, otherwise it does not be seen by ENTRYPOINT
:
VOLUME ["/App"]
WORKDIR /App
ENTRYPOINT ["sh", "start.sh"]
Which start.sh
is within /App
directory.
WORKDIR /App
is a command you can use in your dockerfile to change the working directory.