Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM python:3.8-slim-buster
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
EXPOSE 8501
ENTRYPOINT ["streamlit","run"]
CMD ["Hello.py"]
14 changes: 14 additions & 0 deletions Dockerrun.aws.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "harishkashyap/stdemo",
"Update": "true"
},
"Ports": [
{
"ContainerPort": 8501,
"HostPort": 8501
}
],
"Logging": "/var/log/nginx"
}
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ streamlit hello
- [Documentation](https://docs.streamlit.io/library/get-started/multipage-apps)
- [Blog post](https://blog.streamlit.io/introducing-multipage-apps/)

## Elastic Beanstalk Hosting Support

To host on elastic beanstalk, select docker as type and push the docker image to public image.
- Adds Dockerfile and Dockerrun file.

## Questions? Comments?

Please ask in the [community forum](https://discuss.streamlit.io).