Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>Error Msg
- 2020-06-15T08:15:55.749934+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
- 2020-06-15T08:15:55.774673+00:00 heroku[web.1]: Stopping process with SIGKILL
- 2020-06-15T08:15:55.965467+00:00 heroku[web.1]: Process exited with status 137
- 2020-06-15T08:15:56.014838+00:00 heroku[web.1]: State changed from starting to crashed
- 2020-06-15T08:21:47.789649+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sg-rain.herokuapp.com request_id=41c0416d-68f7-4a64-a7d7-f579e38d41de fwd="49.245.94.73" dyno= connect= service= status=503 bytes= protocol=https
- 2020-06-15T08:21:48.454883+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sg-rain.herokuapp.com request_id=27a2e194-0e07-49ee-9ce5-57da927970a1 fwd="49.245.94.73" dyno= connect= service= status=503 bytes= protocol=https
- 2020-06-15T08:25:30.735835+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=sg-rain.herokuapp.com request_id=9d69d88e-c73c-4acb-8b95-44abb8f21a16 fwd="49.245.94.73" dyno= connect= service= status=503 bytes= protocol=https
- 2020-06-15T08:25:31.700410+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=sg-rain.herokuapp.com request_id=d4066757-491a-4fac-9e92-e18810432299 fwd="49.245.94.73" dyno= connect= service= status=503 bytes= protocol=https
- >>Docker File
- FROM python:3.7
- # streamlit-specific commands
- RUN mkdir -p /root/.streamlit
- RUN bash -c 'echo -e "\
- [general]\n\
- email = \"\"\n\
- " > /root/.streamlit/credentials.toml'
- RUN bash -c 'echo -e "\
- [server]\n\
- enableCORS = false\n\
- port = $PORT\n\
- " > /root/.streamlit/config.toml'
- EXPOSE 8501
- WORKDIR /app
- COPY requirements.txt ./requirements.txt
- RUN apt update && apt -y install build-essential
- RUN pip install -r requirements.txt
- RUN pip install convertdate
- RUN pip install LunarCalendar
- RUN pip install holidays
- RUN pip install pystan==2.19
- RUN pip install fbprophet==0.6
- COPY . .
- CMD streamlit run app.py
- >>Procfile
- web: streamlit run app.py
- >>requirements.txt
- pandas
- numpy
- streamlit
- plotly
- chart_studio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement