.aizen_sama
.aizen_sama
RRailway
Created by .aizen_sama on 6/20/2023 in #✋|help
not able to access PORT environment variable in dockerfile
Yes I tried, and it deployed successfully, thanks a lot 🙏
14 replies
RRailway
Created by .aizen_sama on 6/20/2023 in #✋|help
not able to access PORT environment variable in dockerfile
I used ARG PORT cause it was mentioned in this doc https://docs.railway.app/deploy/dockerfiles and I also read online that "$PORT" does make it escape, so used it in my dockerfile.
14 replies
RRailway
Created by .aizen_sama on 6/20/2023 in #✋|help
not able to access PORT environment variable in dockerfile
spent 3 hrs trying different methods to sort the issue, ended up giving PORT a fixed number to make it work, thanks for the help
14 replies
RRailway
Created by .aizen_sama on 6/20/2023 in #✋|help
not able to access PORT environment variable in dockerfile
So, I am trying to create docker containers for my fronend and backend, that's why learning to use dockerfile, could you please tell me where I am going wrong ? thanks.
14 replies
RRailway
Created by .aizen_sama on 6/20/2023 in #✋|help
not able to access PORT environment variable in dockerfile
I am trying to learn dockerfile as I am using it in another project involving react frontend . Yes, nixpacks is not giving this error, but no clue why dockerfile gives the error.
14 replies