Out of memory error on deploy

I’m trying out fly to see if it’s a good fit for my project but I’m struggling to deploy from a Dockerfile, it keeps killing the process with an out of memory error:

[info] [ 112.731776] Out of memory: Killed process 658 (node) total-vm:920104kB, anon-rss:174740kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:3612kB oom_score_adj:0

I’m on the trial plan right now as I’m trying to trial it. My app is a very barebones Node/Express service with Prisma and a Postgres database.

Is there any way I can get this to deploy? I’ve tried “flyctl deploy” with --remote-only and --local-only.

Try creating a swapfile: