Buddy can't find generated Docker-Content / Folder


#1

Hey,

I would like to deploy a generated folder by gulp inside a docker-container to my server.

My pipeline looks like this:
Take my repository
Build Docker Image from it (works)
Run Docker Image (works)
Upload files to SFTP. (this one fails)

It does fail because Buddy isn’t able to find this specific folder. The main problem is: I don’t know how to configure my pipeline to have the final content from the Docker-Container for buddy available so it can deploy the folder to my SFTP. If this makes sense to you?

Repository-Structure looks like this at start
File XY
File XY
File XY

gulpfile-folder
package.json
package.lock.json

After using the command “gulp build --prod” inside the Docker-Container it looks the same but the container builds a folder with the name “web”.

File XY
File XY
File XY

gulpfile-folder
package.json
package.lock.json
web // this folder should be uploaded to SFTP.

Can anyboy help me? I did try everything inside Buddy. I did try to attach the pipeline to the filesystem/mount the filesystem, I did try to tell it to upload the folder web/ etc. but nothing works. I am not sure if I have to fix this problem inside my docker-setup or inside buddy. It feels like buddy is the way to go.

One more information: the upload does work in general. But not for the created folder.

Best regards and thank you
Burg