mirror of
https://github.com/ethanrusz/scouter.git
synced 2024-11-23 04:07:47 -05:00
Add Dockerfile
This commit is contained in:
parent
c8bee3c70b
commit
4f95d9438b
2 changed files with 64 additions and 0 deletions
19
Dockerfile
Normal file
19
Dockerfile
Normal file
|
@ -0,0 +1,19 @@
|
|||
FROM python:3.11
|
||||
|
||||
WORKDIR app/
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
curl \
|
||||
software-properties-common \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt app.py ./
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 8501
|
||||
|
||||
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
||||
|
||||
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
45
requirements.txt
Normal file
45
requirements.txt
Normal file
|
@ -0,0 +1,45 @@
|
|||
altair==5.2.0
|
||||
attrs==23.2.0
|
||||
blinker==1.7.0
|
||||
cachetools==5.3.2
|
||||
certifi==2024.2.2
|
||||
charset-normalizer==3.3.2
|
||||
click==8.1.7
|
||||
gitdb==4.0.11
|
||||
GitPython==3.1.41
|
||||
idna==3.6
|
||||
importlib-metadata==7.0.1
|
||||
Jinja2==3.1.3
|
||||
jsonschema==4.21.1
|
||||
jsonschema-specifications==2023.12.1
|
||||
markdown-it-py==3.0.0
|
||||
MarkupSafe==2.1.5
|
||||
mdurl==0.1.2
|
||||
numpy==1.26.4
|
||||
packaging==23.2
|
||||
pandas==2.2.0
|
||||
pillow==10.2.0
|
||||
protobuf==4.25.2
|
||||
pyarrow==15.0.0
|
||||
pydeck==0.8.1b0
|
||||
Pygments==2.17.2
|
||||
python-dateutil==2.8.2
|
||||
pytz==2024.1
|
||||
referencing==0.33.0
|
||||
requests==2.31.0
|
||||
rich==13.7.0
|
||||
rpds-py==0.17.1
|
||||
six==1.16.0
|
||||
smmap==5.0.1
|
||||
streamlit==1.31.0
|
||||
tenacity==8.2.3
|
||||
toml==0.10.2
|
||||
toolz==0.12.1
|
||||
tornado==6.4
|
||||
typing_extensions==4.9.0
|
||||
tzdata==2023.4
|
||||
tzlocal==5.2
|
||||
urllib3==2.2.0
|
||||
validators==0.22.0
|
||||
watchdog==4.0.0
|
||||
zipp==3.17.0
|
Loading…
Reference in a new issue