Documentation for datasette package --port

This commit is contained in:
Simon Willison 2020-01-29 11:49:36 -08:00
commit b43b3c6225
2 changed files with 5 additions and 0 deletions

View file

@ -152,6 +152,10 @@ You can now run the resulting container like so::
This exposes port 8001 inside the container as port 8081 on your host machine, so you can access the application at ``http://localhost:8081/``
You can customize the port that is exposed by the countainer using the ``--port`` option:
datasette package mydatabase.db --port 8080
A full list of options can be seen by running ``datasette package --help``:
.. literalinclude:: datasette-package-help.txt