R
RailwayWeb Dev Cody

Slow Image Push

Sometimes on railway I'm noticing builds taking over 10 minutes just to build my next.js application and publish the image. This is the one thing that is killing me about using railway.
Solution:
nixpacks does not make small images to say the least, you would be able to significantly cut down on publish and deploy times if you where to write a multi stage dockerfile
No description
P
Percy18d ago
Project ID: N/A
WDC
Web Dev Cody18d ago
No description
WDC
Web Dev Cody18d ago
I'm using the standard nixpack setup for a nextjs 14 repo
Solution
B
Brody18d ago
nixpacks does not make small images to say the least, you would be able to significantly cut down on publish and deploy times if you where to write a multi stage dockerfile
WDC
Web Dev Cody18d ago
k I may investigate doing so then
B
Brody18d ago
sounds good
Want results from more Discord servers?
Add your server
More Posts
Postgres crashes after configI ran the following command: `ALTER SYSTEM SET shared_preload_libraries = 'timescaledb,pg_stat_statebackup postgres R2What's the problem with this error? wrong credential? ``` Error while running backup: Error: getaddI cant deploy.Hello! i for some reason cant deploy my self hosted version of the zeppelin discord bot. Please helpHow do I create a template from the following Docker files?`Dockerfile` ```yml FROM postgres:16-alpine3.19 RUN apk -U add --no-cache \ alpine-sdk \ curl-Is it possible to use Redis?After all that has happened to Redis, is it still possible to create a Docker image and update it toIs it possible to use Redis?After all that has happened to Redis, is it still possible to create a Docker image and receive updaWatch paths to ignore on PR deployment (preview)I have watch paths set on the `preview` environment, but am still seeing instances spin up for new PPayment fails on portal but is success on Visa appWhen I try to subscribe to hobby plan, my payment fails on the railway site with "card declined" wheCannot change nixpkgsArchive hash from railway.tomlHello, seems like I can't change the nixpkgs archive version from railway.toml ``` [build] builder =can i use railway postgres db with @vercel/postgres ?I am try trying to use railway postgress db with @vercel/postgres. Is it compatible? How do I map raIssue Deploying Django App with Gunicorn on RailwayIt's been a few days of trying to get this up for some production tests but I'm having issues gettinPrisma Nickpacks with Bun errorWhen trying to build nixpacks with bun and prisma using this config: ```toml # nixpacks.toml [phasesHow to retrieve env vars from railway?I need to use them in github action and I don't want to have them as a secret in github as well as iDjango app, slow server responseI am having django app, regular django templates. Database is on google cloud. This is railway reMongoDB prismaWhen ever i try to connect my mongodb with prisma i does not work :( when i genarate the schema it gAccessing an image within a railway. app PGS databaseHi all, Absolutely love Railway.app but just wondering if anyone can assist with accessing an imag