mirror of
https://github.com/simonw/datasette.git
synced 2026-06-04 16:16:59 +02:00
Example usage:
datasette package fivethirtyeight.db \
--tag fivethirtyeight \
--metadata=538-metadata.json
This will create a temporary directory, generate a Dockerfile, copy in the
SQLite database and metadata file, then build that as a new docker image and
tag that in your local Docker repository as fivethirtyeight:latest.
You can then run the image like so:
docker run -p 8006:8001 fivethirtyeight
This will expose port 8001 in the container (the default) as port 8006 on your
host.
Closes #67
|
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| .DS_Store | ||
| __init__.py | ||
| app.py | ||
| cli.py | ||
| utils.py | ||