How to manually deploy phoenix liveview

Hello all
I’m a first time user and tried deploying a phoenix liveview to from my nixos machine.
I know the flyctl version is outdated. But I think it isn’t related…
Is there an easy manual way to deploy without the flyctl?

Update available 0.0.383 -> v0.0.395.
Run "flyctl version update" to upgrade.
==> Verifying app config
--> Verified app config
==> Building image
Remote builder fly-builder-red-butterfly-5065 ready
==> Creating build context
--> Creating build context done
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
Sending build context to Docker daemon  162.3kB
[+] Building 1.8s (4/4) FINISHED                                               
 => CACHED [internal] load remote build context                           0.0s
 => CACHED copy /context /                                                0.0s
 => [internal] load metadata for  0.9s
 => ERROR [internal] load metadata for  1.8s
 > [internal] load metadata for
Error failed to fetch an image or build from source: error building: failed to solve with frontend dockerfile.v0: failed to create LLB definition: not found

The versions since 0.0.383 fail to build on nix for some reason.

package no Go files in /build/source/vendor/

Looks like a missing docker image on the pull. Try erlang 25.1 with 1.14.0 .

1 Like

I’ll try it.

Each time something like this happens, I realize why I’m using nix.

1 Like

I jumped to guix from nix two years ago. It’s like nix, but makes sense. You may need to nonguix channel for non-free stuff, but other than that, it’s waaay easier to use/figure out.

1 Like

good to know.
I’m currently happy with nix

7+ devices from 1 flakes config, from router, desktop, server
all with zfs.

If nix would disappear, I’ll definitely go to guix. If they both disappear, I’ll stop user computers until there is a good alternative. Once you go this route …