How to pass bind port as a param ? #1389
Unanswered
Baptistemontan
asked this question in
Q&A
Replies: 1 comment
-
for now I have a work around where I have a #!bin/sh
export LEPTOS_SITE_ADDR="0.0.0.0:$PORT"
./${LEPTOS_OUTPUT_NAME} and do
in the Dockerfile |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm deploying my app with docker on heroku and the doc says I need to bind to port
$PORT
, so in the dockerfile I havebut from what I understand
$PORT
is not static and is not known when the docker is image built, it is set as en environnement variable when the container is launched.Is there a way to have something like
Beta Was this translation helpful? Give feedback.
All reactions