a year ago
Trying out config as code, specifying a Dockerfile path, but I need to copy assets into the container. This currently isn't working because the Docker builder is trying to build relative to root, but the Dockerfile needs to be in the same directory as the files it's copying. How does one change this?
12 Replies
a year ago
c0e3b2af-8f03-40c2-85e3-30ac2bf30ceb
a year ago
you can set the root directory in the service settings!
a year ago
hmm, what if I only want it during build, and not during deploy?
a year ago
unfortunately it would always be for both
a year ago
even in a docker image? 🤔
a year ago
also, looks like it can't be set from a config file <:sadblob:608312612244946967>
a year ago
nope, it would not apply to docker images
a year ago
ah, perfect, that should work fine then! I will open a feedback thread to request it as a config field
a year ago
!s
a year ago
sounds good!
a year ago
rip cant close it myself
a year ago
!s
Status changed to Solved brody • 12 months ago