我的文件夹结构如下。/service/DockerFiledocker-compose -f docker/docker-compose-service.yml up --buildCOPY NuGet.config .错误是
failed to build: COPY failed: stat /var
我有用于NodeJS应用程序的Dockerfile,需要在容器中复制迁移、种子文件夹。但问题是,我们所有的应用程序都使用相同的Dockerfile,但并不是所有的应用程序都使用DB并具有迁移,即种子。Dockerfile:# * package json, to be able run `npm run ...`# * migrations, seeds if they exist
COPY .