Skip to content

Commit

Permalink
🙈
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 3, 2024
1 parent 878c11b commit bf67e87
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ WORKDIR /app

COPY . .

RUN pip install -r requirements.txt
RUN conda update -n base -c conda-forge conda && conda env update --file environment.yml


# huggingface uses port 7860 by default
CMD streamlit run app.py \
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
BASE="jupyterhub.cirrus.carlboettiger.info"
MAKEFLAGS += s

.PHONY: serve
serve:
@echo "\n 🌎 preview at: \033[1m https://${BASE}${JUPYTERHUB_SERVICE_PREFIX}proxy/8501/ \033[0m \n"
streamlit run app.py --server.port 8501 1> /dev/null 2>&1

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Redlining GBIF
emoji: 🌍
colorFrom: yellow
colorTo: indigo
sdk: streamlit
sdk: docker
pinned: false
license: bsd-2-clause
---
Expand Down
12 changes: 12 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: base
channels:
- conda-forge
dependencies:
- ibis-duckdb
- leafmap
- altair
- minio
- streamlit
- pip
- pip:
- maplibre

0 comments on commit bf67e87

Please sign in to comment.