Hey! Is anyone experiencing huge deploying times f...
# cloud
b
Hey! Is anyone experiencing huge deploying times for deploying an agent to the cloud? I optimised the image as much as possible and I got to 2gb of size, which I guess is ok. The building process itself is fast (~70 seconds), but when exporting/pushing the layers I have to wait tens of minutes and it doesn't even complete :/
👀 1
e
are you building the container locally to get the size? do you have a .gitignore and/or .dockerignore that ignores the venv or node_modules dirs?
when have your build failures been happening?
b
yeh i was building it locally which used the arm architecture. When building it for amd I get 8gb due to nvidia and torch. But I guess that's normal for a livekit image? Aside from that all my ignore files are there and correct. I started deploying on livekit today, the first deploy was ~5mins, then it started going down and now it goes past ~20 mins (even tho there is a 10 mins timer?)
e
do you need nvidia and pytorch? there is no gpu available?
b
well... found the problem.. i honestly thought it was a livekit dependency but turns out i left it there after a test i did. Thanks 🙂
e
ah glad you got it to work. i'd like to improve our error state here as well
it just failed and continued to look like it was uploading was the end state?
b
i never got an actual fail, it reached the "exporting to image layer" and slowly progressed. The elapsed time kept running (sometimes for more than 20 minutes - or until i stopped it) and the build service never stopped before i did
e
got it, thanks!