Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

Dockerfile 284 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. FROM python:3.8
  2. EXPOSE 8501
  3. WORKDIR /app
  4. COPY ./app app
  5. RUN pip install -r app/requirements.txt
  6. RUN mkdir -p /root/.streamlit
  7. RUN bash -c 'echo -e "[general]\nemail = \"your-email@domain.com\"\n" > /root/.streamlit/credentials.toml'
  8. ENTRYPOINT ["streamlit", "run"]
  9. CMD ["app/main.py"]
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...