Nicky Nicolson commited on
Commit
a463f6e
1 Parent(s): 6726bbc

add plot plugin

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. Dockerfile +3 -0
  3. requirements.txt +1 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ data
Dockerfile CHANGED
@@ -18,4 +18,7 @@ RUN chmod 755 /code/extinctionrisk.db
18
  # Create datasette metadata file
19
  COPY ./metadata.json /code/metadata.json
20
 
 
 
 
21
  CMD ["datasette", "/code/extinctionrisk.db", "-m", "/code/metadata.json", "--host", "0.0.0.0", "--port", "7860", "--setting", "sql_time_limit_ms", "3500"]
 
18
  # Create datasette metadata file
19
  COPY ./metadata.json /code/metadata.json
20
 
21
+ # Add plot plugin
22
+ RUN datasette install datasette-plot
23
+
24
  CMD ["datasette", "/code/extinctionrisk.db", "-m", "/code/metadata.json", "--host", "0.0.0.0", "--port", "7860", "--setting", "sql_time_limit_ms", "3500"]
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  datasette
 
2
  sqlite-utils
3
  csvs-to-sqlite
4
  pandas==1.5.3
 
1
  datasette
2
+ datasette-plot
3
  sqlite-utils
4
  csvs-to-sqlite
5
  pandas==1.5.3