Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Dockerfile for AWS deployment with Elastic Beanstalk:
# - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker.html
#
# Link to the github code can be done with CodePipeline:
# - https://docs.aws.amazon.com/codepipeline/latest/userguide/welcome.html#welcome-get-started
# - Deployment with Elastic Beanstalk

FROM python:3.8-slim-buster

COPY . /app

WORKDIR /app

RUN pip install -r requirements.txt

EXPOSE 80

CMD ["bash", "-c", "streamlit run --browser.serverAddress 0.0.0.0 --server.port 80 app/streamlit_app.py"]