Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -1,12 +1,10 @@
|
|
1 |
-
FROM
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY ./requirements.txt /code/requirements.txt
|
6 |
-
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
-
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
-
|
9 |
COPY . .
|
|
|
|
|
10 |
|
11 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
12 |
|
|
|
1 |
+
FROM continuumio/miniconda3
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
|
|
|
|
|
|
5 |
COPY . .
|
6 |
+
RUN conda install -c conda-forge cartopy
|
7 |
+
RUN pip install panel geoviews holoviews geopandas shapely fugue duckdb datasets pyarrow
|
8 |
|
9 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
10 |
|