Spaces:
Runtime error
Runtime error
Nicky Nicolson
commited on
Commit
•
afd2a60
1
Parent(s):
f3faa54
mod paths
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -10,13 +10,13 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
10 |
ADD https://docs.google.com/uc?export=download&id=17mI5W0qiGiBp_RV1jy3QR3KtN7Ah-1Ha /code/ihinst.db
|
11 |
|
12 |
# Download GBIF occurrences and prepare for use with datasette
|
13 |
-
RUN mkdir data
|
14 |
ADD https://api.gbif.org/v1/occurrence/download/request/0032228-231002084531237.zip /data/gbif-occs.zip
|
15 |
-
RUN ls -l data
|
16 |
-
RUN unzip data/gbif-occs.zip -d data
|
17 |
-
RUN ls -l data
|
18 |
-
RUN csvs-to-sqlite data/occurrences.csv code/gbifocc.db
|
19 |
-
RUN ls -l code
|
20 |
|
21 |
RUN sqlite-utils tables /code/ihinst.db --counts
|
22 |
RUN chmod 755 /code/ihinst.db
|
|
|
10 |
ADD https://docs.google.com/uc?export=download&id=17mI5W0qiGiBp_RV1jy3QR3KtN7Ah-1Ha /code/ihinst.db
|
11 |
|
12 |
# Download GBIF occurrences and prepare for use with datasette
|
13 |
+
RUN mkdir /data
|
14 |
ADD https://api.gbif.org/v1/occurrence/download/request/0032228-231002084531237.zip /data/gbif-occs.zip
|
15 |
+
RUN ls -l /data
|
16 |
+
RUN unzip /data/gbif-occs.zip -d /data
|
17 |
+
RUN ls -l /data
|
18 |
+
RUN csvs-to-sqlite /data/occurrences.csv /code/gbifocc.db
|
19 |
+
RUN ls -l /code
|
20 |
|
21 |
RUN sqlite-utils tables /code/ihinst.db --counts
|
22 |
RUN chmod 755 /code/ihinst.db
|