Claire Herdeman
07/11/2023, 5:34 PM"readonlyRootFilesystem": true,
to the container definition, but then the flow fails to load. Looks like the error is when it tries to make the directory and can't, which makes sense
File "/usr/local/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '/opt/prefect/./<flow_name>
Claire Herdeman
07/11/2023, 5:39 PMChristopher Boyd
07/11/2023, 6:17 PMChristopher Boyd
07/11/2023, 6:18 PMChristopher Boyd
07/11/2023, 6:18 PMClaire Herdeman
07/11/2023, 7:38 PMRUN mkdir -p /prefect2/storage
VOLUME ["/prefect2/storage"]
WORKDIR /prefect2/storage