Open gottacatchenall opened 11 months ago
This currently this instantiates the project at the root, but each script is run in the /scripts/<SCRIPT_NAME and uses that dir as the project by default.
We can also install the required packaged in the container's default (@1.whatever
) environment and only add the required packages to each script's Project.toml
. When starting julia with --project
, the default environment remains accessible.
I have added the scripts and made a version of instantiate that installs and precompiles and environment for each Julia script (right now only helloWorld.jl is on main)
This currently this instantiates the project at the root, but each script is run in the
/scripts/<SCRIPT_NAME
and uses that dir as the project by default. Easiest way around this would be to havePkg.activate("/")
, though there may be some long-term benefit in having individualProject.toml
's for each script that are all installed when the Julia docker image is built