Nicky Nicolson commited on
Commit
72d9693
1 Parent(s): 21f26c1

Update Dockerfile use sqlite-utils instead of csvs-to-sqlite

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -19,7 +19,7 @@ COPY ./tab2csv.py /code/tab2csv.py
19
 
20
 
21
  RUN python tab2csv.py --createcols /data ${GBIF_DOWNLOAD_ID} gbifocc.csv
22
- RUN csvs-to-sqlite /data/gbifocc.csv /code/gbifocc.db
23
  RUN ls -l /code
24
  RUN sqlite-utils tables /code/gbifocc.db --counts
25
  RUN sqlite-utils enable-fts /code/gbifocc.db gbifocc collectorNameAndNumber
 
19
 
20
 
21
  RUN python tab2csv.py --createcols /data ${GBIF_DOWNLOAD_ID} gbifocc.csv
22
+ RUN sqlite-utils insert /data/gbifocc.csv gbifocc /data/gbifocc.csv --csv
23
  RUN ls -l /code
24
  RUN sqlite-utils tables /code/gbifocc.db --counts
25
  RUN sqlite-utils enable-fts /code/gbifocc.db gbifocc collectorNameAndNumber