#Is it possible to install multiple Nixpacks?

7 messages · Page 1 of 1 (latest)

hazy turtle
#

Hey!

I am trying to run a Python Flask-App that utilises a tool that was made in C#, which needs .NET to function. When I tried to deploy, it stated that .NET Nixpack was installing, but not Python - leading to requirements.txt not being installed - leading to Gunicorn to start up server not being recognised.

It it possible to install multiple Nixpacks on Railway in order to run different programs in an app?
Any help would be very appreciated. Thank you in advance!

timid onyx
hazy turtle
hazy turtle
#

Bump!

eternal turtle
#

I need to do the same with nodejs and python because I have an app that uses django and react. But I’m still new to nixpacks and I don’t still get how to make it work

hazy turtle
#

Hey! Unfortunately I was not able to find a really good solution using the Nixpacks config file, but I was able to find a better solution in the longrun.

I would recommend reading and learning about Docker (https://docs.docker.com/get-started/) and create a Dockerfile in your repository. Docker allows you to containerise your application so that it will work on any server, pc oder vm.

And basically a Dockerfile is just like a Nixpack-Config file but you can adjust many more things.

Try to read through the docs and understand how to configure everything correctly. Run Docker on your pc first. If your apps runs correctly on Docker, it will run anywhere else as well!

After pushing your Dockerfile to your repo, Railway will detect a Custom Dockerfile and will run this and (hopefully) it will work!

Wishing you a great day and happy coding!

Docker Documentation

Get oriented on some basics of Docker and install Docker Desktop.

feral grotto