datasette/datasette
Simon Willison 4143e3b45c New command: datasette package - packages a docker container
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
2017-11-13 08:17:35 -08:00
..
static Added border-right to table cells 2017-11-12 12:19:18 -08:00
templates serve and publish commands now take a --metadata option 2017-11-13 07:20:02 -08:00
.DS_Store Renamed to 'datasette' 2017-11-10 10:38:35 -08:00
__init__.py Renamed to 'datasette' 2017-11-10 10:38:35 -08:00
app.py serve and publish commands now take a --metadata option 2017-11-13 07:20:02 -08:00
cli.py New command: datasette package - packages a docker container 2017-11-13 08:17:35 -08:00
utils.py New command: datasette package - packages a docker container 2017-11-13 08:17:35 -08:00