Sam Ruby

Results 97 comments of Sam Ruby

> Although I don't think seeding is happening in production, so it's fine to have it in devDependencies 🤔 With fly.io, seeding is run using the same image as what...

On fly.io, build machines don't have access to secrets or postgres databases. Looking at the prisma documentation, it looks like seeds aren't applied on the first `prisma migrate deploy`, and...

Instead of a config option, is it possible to tell via inspecting the contents of the files on the machine what the right thing to do is?

A typical Dockerfile produced for a Rails application using a jsBundler looks like the following: https://github.com/fly-apps/dockerfile-rails/blob/main/test/results/esbuild/Dockerfile#L74-L76 What options are you specifying?

To the contrary, that's totally fair. When I started looking into it I came to the conclusion that it would only apply in that case, and was wondering if I...

I'm surprised this hasn't been noticed before. Perhaps run the `rm -rf` in the later portion of the build stage? This will reduce the size of intermediate images as well...

> One modification I always make to my build is to delete certain routes on deploy in the Dockerfile just before build I would suggest putting this in `.dockerignore`? In...

> Maybe you could provide a way to hook into the process at certain points, e.g. before_build, after_build, after_deploy where uses can execute code. I don't know anything about ejs,...

> I want to move the entire ~/.fly/ directory Try `FLY_CONFIG_DIR`. See: https://github.com/superfly/flyctl/pull/2785

I agree it looks weird, but that appears to be the default serialization for toml so I would not be inclined to change it. Essentially, we unmarshal the toml into...