Spaces:
Sleeping
Sleeping
:see_no_evil:
Browse files- Dockerfile +2 -1
- Makefile +8 -0
- README.md +1 -1
- environment.yml +12 -0
Dockerfile
CHANGED
@@ -3,7 +3,8 @@ WORKDIR /app
|
|
3 |
|
4 |
COPY . .
|
5 |
|
6 |
-
RUN
|
|
|
7 |
|
8 |
# huggingface uses port 7860 by default
|
9 |
CMD streamlit run app.py \
|
|
|
3 |
|
4 |
COPY . .
|
5 |
|
6 |
+
RUN conda update -n base -c conda-forge conda && conda env update --file environment.yml
|
7 |
+
|
8 |
|
9 |
# huggingface uses port 7860 by default
|
10 |
CMD streamlit run app.py \
|
Makefile
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
BASE="jupyterhub.cirrus.carlboettiger.info"
|
2 |
+
MAKEFLAGS += s
|
3 |
+
|
4 |
+
.PHONY: serve
|
5 |
+
serve:
|
6 |
+
@echo "\n π preview at: \033[1m https://${BASE}${JUPYTERHUB_SERVICE_PREFIX}proxy/8501/ \033[0m \n"
|
7 |
+
streamlit run app.py --server.port 8501 1> /dev/null 2>&1
|
8 |
+
|
README.md
CHANGED
@@ -3,7 +3,7 @@ title: Redlining GBIF
|
|
3 |
emoji: π
|
4 |
colorFrom: yellow
|
5 |
colorTo: indigo
|
6 |
-
sdk:
|
7 |
pinned: false
|
8 |
license: bsd-2-clause
|
9 |
---
|
|
|
3 |
emoji: π
|
4 |
colorFrom: yellow
|
5 |
colorTo: indigo
|
6 |
+
sdk: docker
|
7 |
pinned: false
|
8 |
license: bsd-2-clause
|
9 |
---
|
environment.yml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: base
|
2 |
+
channels:
|
3 |
+
- conda-forge
|
4 |
+
dependencies:
|
5 |
+
- ibis-duckdb
|
6 |
+
- leafmap
|
7 |
+
- altair
|
8 |
+
- minio
|
9 |
+
- streamlit
|
10 |
+
- pip
|
11 |
+
- pip:
|
12 |
+
- maplibre
|