File size: 553 Bytes
00ac9b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM python:3.9.12

WORKDIR /ethio_hydro

# Upgrade pip and install requirements

COPY requirements.txt requirements.txt
RUN pip install -U pip
RUN pip install -r requirements.txt

# Expose port you want your app on
EXPOSE 8501

# Copy app code and set working directory
COPY app.py app.py
COPY references references
COPY stlib stlib
COPY precipitation_function.py  precipitation_function.py
COPY temperature_functions.py   temperature_functions.py
COPY .streamlit .streamlit



# Run
RUN pip install streamlit
ENTRYPOINT ["streamlit", "run", "app.py"]