Closed MostafaAbdelrashied closed 1 year ago
I wanted to locate the docker file in pyMixtCompt as it is only relevant for this component. However, we will need to still copy/use the MixtComp folder for building, and docker doesn't allow relative imports.
From the documentation: The path must be inside the context of the build; you cannot COPY ../something/something, because the first step of a docker build is to send the context directory (and subdirectories) to the docker daemon.
I agree with you that adding only python-related Dockerfile/Makefile to the root is not optimal, but it was the only way to do it. At my work, it has eased a lot of the installation process across different platforms. Thus, I thought it might be useful for others.
Anyway, I will close the PR for now
This PR is created to solve #31 and #30