Closed reecewayt closed 2 weeks ago
Yeah, I think probably removing src.
makes the most sense. That would mean it's still fine to run on the host machine as long as you're running from inside the src
directory, I believe.
We should also decide if we want to create a separate data
directory for trace.txt
and rwins.din
, and add that to the Docker image as well or add it inside the src
directory (which would mean it would end up in the image), or some other option.
@nkanderson I'm curious what you think the best solution is for an issue I'm running into.
The current Docker container setup is causing Python module import issues when trying to run the file_parser. When attempting to run modules from within the container, I get import errors:
The current Dockerfile only copies the src directory contents to
/home/llcsim/
so the complete project structure is not maintained. The easy fix of course would be for me to change the library import fromsrc.config.project_config
->config.project_config
but I'm curious what you think is the best practice here since I'm new to docker.