Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose.yml: unit_testとlintのDockerfileを参照できない #51

Open
shino16 opened this issue Mar 26, 2019 · 1 comment
Open

Comments

@shino16
Copy link
Member

shino16 commented Mar 26, 2019

Step 1: 目的

> docker-compose -f unit_test/docker-compose.yml build
Building frontend
ERROR: Forbidden path outside the build context: ../unit_test/Dockerfile.frontend ()

とWindowsで言われた。

つまり、docker-compose.ymlのcontextで指定したディレクトリの外側にあるDockerfileを参照できない。つまりunit_testとlintでこまる。

Step 2: 概要

  • unit_testとlintのdocker-compose.yml contextをdevenvにする
@shino16
Copy link
Member Author

shino16 commented Mar 26, 2019

これほかの環境ではどうですか?

@shino16 shino16 changed the title ERROR: Forbidden path outside the build context: ../unit_test/Dockerfile.frontend () docker-compose.yml: context外のDockerfileを参照できない Mar 26, 2019
@shino16 shino16 changed the title docker-compose.yml: context外のDockerfileを参照できない docker-compose.yml: unit_testとlintのDockerfileを参照できない Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant