my docker file contains are below:
FROM python:3.10.11
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
EXPOSE 8000
# Command to run the app
CMD ["streamlit", "run", "Login.py"]
but when I try to run docker container in port 8000, it runs in 8501 as shown in below image:
also in web browser, it is not opening at localhost:8501, so do we need to change any port or something.
also when I try to push docker container into azure container registry , by following quick start in portal itself. but when try to provide username and password it gives me client timeout error. as shown in below image:
also our web app supports CORS for that we are using:
python -m streamlit run app.py --server.port 8000 --server.address 0.0.0.0 --server.enableCORS=false --server.enableXsrfProtection=false
apart from above issue, just wanted to know as streamlit runs on port 8501 but azure web app supports port 8000, so what code changes I have to do?
As I am new to this any help will be thankful.