Spaces:
Runtime error
Runtime error
Nicky Nicolson
commited on
Commit
•
d75f42f
1
Parent(s):
e6f931e
Move python script to working dir
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -23,6 +23,7 @@ RUN sqlite-utils tables /code/gbifcit.db --counts
|
|
23 |
RUN chmod 755 /code/gbifcit.db
|
24 |
|
25 |
COPY ./metadata.json /code/metadata.json
|
|
|
26 |
RUN python getDownloadMetadata.py --dataset_id=${GBIF_DATASET_ID} /code/metadata.json /code/metadata.json
|
27 |
|
28 |
CMD ["datasette", "/code/gbifcit.db", "-m", "/code/metadata.json", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
23 |
RUN chmod 755 /code/gbifcit.db
|
24 |
|
25 |
COPY ./metadata.json /code/metadata.json
|
26 |
+
COPY ./getDownloadMetadata.py /code/getDownloadMetadata.py
|
27 |
RUN python getDownloadMetadata.py --dataset_id=${GBIF_DATASET_ID} /code/metadata.json /code/metadata.json
|
28 |
|
29 |
CMD ["datasette", "/code/gbifcit.db", "-m", "/code/metadata.json", "--host", "0.0.0.0", "--port", "7860"]
|