feat: add StemAtlas Streamlit app, explorer, Docker deployment, blog charts

This commit is contained in:
2026-03-22 22:38:17 +01:00
parent daa22c5e2b
commit 2891e9ee70
20 changed files with 2576 additions and 84 deletions
+4 -8
View File
@@ -13,13 +13,9 @@ WORKDIR /home/app/app
# Copy project files
COPY . /home/app/app
# Upgrade pip and install either pinned requirements or runtime defaults
# Upgrade pip and install all project dependencies from pyproject.toml
RUN python -m pip install --upgrade pip
RUN if [ -f requirements.txt ]; then \
pip install -r requirements.txt; \
else \
pip install uv streamlit duckdb; \
fi
RUN pip install .
# Fix permissions
RUN chown -R app:app /home/app
@@ -32,5 +28,5 @@ EXPOSE 8501
# Simple healthcheck that queries the Streamlit root
HEALTHCHECK --interval=30s --timeout=3s --start-period=10s CMD curl -f http://localhost:8501/ || exit 1
# Run the Streamlit app via uv as preferred in this project
CMD ["uv", "run", "streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
# Run the multi-page Streamlit app
CMD ["streamlit", "run", "Home.py", "--server.port=8501", "--server.address=0.0.0.0"]