Advertisement
snip3r77

Untitled

Jun 15th, 2020
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. >>Error Msg
  2. 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
  3. 2020-06-15T08:15:55.774673+00:00 heroku[web.1]: Stopping process with SIGKILL
  4. 2020-06-15T08:15:55.965467+00:00 heroku[web.1]: Process exited with status 137
  5. 2020-06-15T08:15:56.014838+00:00 heroku[web.1]: State changed from starting to crashed
  6. 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
  7. 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
  8. 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
  9. 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
  10.  
  11. >>Docker File
  12. FROM python:3.7
  13.  
  14. # streamlit-specific commands
  15. RUN mkdir -p /root/.streamlit
  16. RUN bash -c 'echo -e "\
  17. [general]\n\
  18. email = \"\"\n\
  19. " > /root/.streamlit/credentials.toml'
  20. RUN bash -c 'echo -e "\
  21. [server]\n\
  22. enableCORS = false\n\
  23. port = $PORT\n\
  24. " > /root/.streamlit/config.toml'
  25.  
  26. EXPOSE 8501
  27.  
  28. WORKDIR /app
  29.  
  30. COPY requirements.txt ./requirements.txt
  31.  
  32. RUN apt update && apt -y install build-essential
  33.  
  34. RUN pip install -r requirements.txt
  35.  
  36. RUN pip install convertdate
  37.  
  38. RUN pip install LunarCalendar
  39.  
  40. RUN pip install holidays
  41.  
  42. RUN pip install pystan==2.19
  43.  
  44. RUN pip install fbprophet==0.6
  45.  
  46. COPY . .
  47.  
  48. CMD streamlit run app.py
  49.  
  50. >>Procfile
  51. web: streamlit run app.py
  52.  
  53. >>requirements.txt
  54. pandas
  55. numpy
  56. streamlit
  57. plotly
  58. chart_studio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement