adding right chmod before copying files to container