Docker Add every file in current directory

后端 未结 2 605
广开言路
广开言路 2021-02-14 20:37

I have a simple web application that I would like to place in a docker container. The angular application exists in the frontend/ folder, which is withing the

2条回答
  •  孤城傲影
    2021-02-14 21:05

    First, try COPY just to test if the issue persists.

    Second, make sure that no files are copied by changing your CMD to a ls frontend

    I do not see a WORKDIR in node/7.5/Dockerfile, so frontend could be in /frontend: check ls /frontend too.

提交回复
热议问题