Not correct python version in Nixpack when using dockerfile (used to work)
Hi there I am using a dockerFile with python:3.10-slim-buster
Problem: when i am deploying from my git it and I see the docker image being compiled i see using python
setup β python38, gcc
I think i am not getting python version 3.10 as my dependancies seem broken but the python version is 3.8? This wasn't the case as i now cant install numpy. On my local machine the requirements.txt work perfectly and i can install all dependancies fine on WSL. I used to compile the same image perfectly with the same docker file on railway in other project (haven't rebuild it since weeks though). What could be wrong? Any help would be appricated. project id =16173128-f966-4c24-9def-b463fcd1f62d
I think i am not getting python version 3.10 as my dependancies seem broken but the python version is 3.8? This wasn't the case as i now cant install numpy. On my local machine the requirements.txt work perfectly and i can install all dependancies fine on WSL. I used to compile the same image perfectly with the same docker file on railway in other project (haven't rebuild it since weeks though). What could be wrong? Any help would be appricated. project id =16173128-f966-4c24-9def-b463fcd1f62d
Solution:Jump to solution
when using a Dockerfile nixpacks is not applicable in any way, however why nixpacks is still being used is likely due to your misspelling of
Dockerfile
4 Replies
Project ID:
16173128-f966-4c24-9def-b463fcd1f62d
Solution
when using a Dockerfile nixpacks is not applicable in any way, however why nixpacks is still being used is likely due to your misspelling of
Dockerfile
@Brody Hi there I think you are right! I had vscode open en had it named .Dockerfile should of course be "Dockerfile"...Deployed already 8 projects to Railway and never forgot this. Well now is the first time! Thanks for the solution!π Deployed again and working!
no problem!