Hi! What environment var must I set to specify a p...
# ask-community
v
Hi! What environment var must I set to specify a port in my Dockerfile? I am running it like the *Serve flows in a long-lived Docker container*
n
hi @Victor - what are you trying to expose from your container?
v
yes
n
sorry, i was asking what you are trying to expose from your container because in general if you have
PREFECT_API_URL
(and the key if you're using cloud) set on the container, then you don't need to worry about exposing a port
v
I am so sorry for misreading this! I was rude. Yeah, it was easier to use the prefect container and point it to there
n
no worries! lmk if you still need help with a question
thank you 1