Facing issues with python version, for fast api backend
mgsankai
HOBBYOP

a year ago

Deploying from git repo. Getting error where automatic docker build sets python version to 3.9 but we need 3.10.

internal

load metadata for docker.io/library/python:3.9-slim-buster

Solved$10 Bounty

Pinned Solution

a year ago

Hello!

You can set your Python version to 3.10 using the RAILPACK_PYTHON_VERSION. Just go to the variables tab and set RAILPACK_PYTHON_VERSION to 3.10.

Keep in mind this is all assuming you're not using an explicit Dockerfile and are using Railpack.

1 Replies

a year ago

Hello!

You can set your Python version to 3.10 using the RAILPACK_PYTHON_VERSION. Just go to the variables tab and set RAILPACK_PYTHON_VERSION to 3.10.

Keep in mind this is all assuming you're not using an explicit Dockerfile and are using Railpack.


Status changed to Solved brody 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...