streamlit getting started

This commit is contained in:
crawforc3 2024-12-28 13:09:06 -08:00
parent 1f3f805093
commit 60ff50d71c
4 changed files with 15 additions and 4 deletions

View File

@ -11,8 +11,11 @@ RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/streamlit/streamlit-example.git .
#RUN git clone https://github.com/streamlit/streamlit-example.git .
COPY . /app
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
EXPOSE 8501

2
build_and_run.sh Executable file
View File

@ -0,0 +1,2 @@
docker build -t lithos-app .
docker run -p 8501:8501 lithos-app

View File

@ -8,9 +8,14 @@ Youre free to use the framework of your choice. We want to understand how you
steps:
- streamlit getting started
### Dev steps:
- streamlit getting started (done)
- display a shapefile
- add a legend
- add feature to select shape file
### Running the app:
- chmod u+x build_and_run.sh
- ./build_and_run.sh
- Visit http://0.0.0.0:8501

View File

@ -0,0 +1 @@
streamlit==1.41.1