Update Dockerfile
Browse files15 unmodified lines16171819202142 unmodified lines6465666715 unmodified lines# the application crashes without emitting any logs due to buffering.ENV PYTHONUNBUFFERED=1WORKDIR /app# Create a non-privileged user that the app will run under.42 unmodified lines# Run the application.# CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]CMD ["bash", "-c", "ngrok/ngrok http 7860 & uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]15 unmodified lines161718192021222324252642 unmodified lines6970717215 unmodified lines# the application crashes without emitting any logs due to buffering.ENV PYTHONUNBUFFERED=1# Install ngrokRUN apt-get update && apt-get install -y wget unzipRUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zipRUN unzip ngrok-stable-linux-amd64.zip -d /usr/local/bin/WORKDIR /app# Create a non-privileged user that the app will run under.42 unmodified lines# Run the application.# CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]CMD ["bash", "-c", "./ngrok http 7860 & uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
Dockerfile+6-1