https://prefect.io logo
e

Eric

09/28/2020, 7:20 PM
I'm trying to use the files{} parameter with the Docker storage class, it says it can take files or directories, however it only deploys if i have a file specified, not a directory. When pointed at the directory I get a "permission denied" error, https://stackoverflow.com/questions/11278066/using-shutil-copyfile-i-get-a-python-ioerror-errno-13-permission-denied/11278116 • `files (dict, optional)`: a dictionary of files or directories to copy into the image when building. Takes the format of 
{'src': 'dest'}
c

Chris White

09/28/2020, 7:35 PM
Hi Eric, can you confirm that you are running with Prefect 0.13.8? The ability to pass in directories was only added in the latest release, and from your traceback it appears that you are running an older version
👍 1
r

raphBL

09/28/2020, 7:41 PM
@Eric, are you on windows ?
e

Eric

09/28/2020, 7:42 PM
yes windows sadly (thank my IT department...)
i'm on 0.13.7, let me upate!
welcome to open source.. 0.13.7 to 0.13.8 fixed this, unbelievable. thank you!!!
🦜 2
🚀 2
c

Chris White

09/28/2020, 7:43 PM
@Marvin archive “Permission Denied when copying a directory into my Flow’s Docker image”
e

Eric

09/28/2020, 7:44 PM
thanks @Marvin