Bun install

Hi, im trying to deploy a bun app to railway, nixpacks seems to have picked it up, but is trying to run npm i when it should run bun i. How can i change this?
rare nixpacks L
Nixpacks doesn't support Bun 1.0 (yet) but we have a couple templates that use a Dockerfile like this one https://github.com/mattreid1/baojs-railway/blob/main/Dockerfile
Here's the WIP Nixpacks PR if you want to follow the progress https://github.com/railwayapp/nixpacks/pull/962
also nixpacks is setting the install command to npm ci because you still have a npm lock file in your repo
and while nixpacks doesn't install bun 1.0 by default, you can get it to by specifying a nix packages archive
got it to work with just removing the lockfile, the bun version seems to work fine for my app
not going to production for a while so shouldnt matter rn

Looking for more? Join the community!

Recommended Posts
Memory MetricsDo the memory metrics represent the entire memroy being used by all the active process in that serviCan we easily add some config files for a dockerhub type of deployment ?https://docs.railway.app/develop/services#docker-image we can deploy from dockerhub and that's very TLS handshake timeout during transition from build to deployFull log message: ``` [us-west1] ========================= Using Detected Dockerfile =============Can I deploy an image from dockerhub directly ?Hello, all said in the title. I wanted to setup an opentelemetry collector and play with https://hubBuild->deploy Process suddenly brokei feel like you guys changed the way your containers are structured and it broke my build->deploy prRailway server sleep even purchase Hobby planhey guys, I paid for Hobby plan and I was successful deploy my nodejs server on railway last night, Node.js v18.12.1 is not supported by Astro, how to update to : ">=18.14.1"?Anyone can help me, please? Got this error while building Astro, how to update to : ">=18.14.1"? Tbundo railway have support for bun in the near feature?Issue Deploying Next.js 13 with Bun 1.0For better or worse I've decided to follow the hype train and am trying to get Bun 1.0 working with Pricing QuestionsI'm looking for some clarification regarding Railway's pricing structure. I've noticed that the 'HobDeploying via github always crashes after 4-5 minutesI am creating a discord bot and when I commit to github and deploy it, it starts fine at first. But Deploying bun 1.0in bun cause I don't need to build files is their somehow I can skip the build step since it alreadyWhere can you store Media Files?I'm using Django and have added a blog module to it where users can upload their own images. I was wEasy (?) shared variables questionThe environment contains the excellent Payload CMS template, attendant Mongo DB, and a Next.js frontPlan update issueIm having a issue with plan update. It just shows: Problem processing payment method and I triple cCan't create an account: Device requesting login is not supported. Please try again from a secure coTrying to create a new Railway Account, but getting this error: ```Device requesting login is not saccess to resource inside replicahi, when we setup an instance to have 2 replicas, how do we get the resource related to 1 of the reCommunicate between services with private networkProject ID: 3f51dcb4-6905-4a13-be75-4c6063e4324a I am trying to set up Railway to communicate betweWeb Server Not WorkingI just started a small simple web server. I generated a custom domain for now, and when trying to achttp:// to urlI am using a Django REST framework. When I query the URL at I can get a response, but a