How to specify working directory for ENTRYPOINT in Dockerfile

后端 未结 2 1195
陌清茗
陌清茗 2021-02-05 04:22

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

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-05 04:50

    WORKDIR /App is a command you can use in your dockerfile to change the working directory.

提交回复
热议问题