mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
--port argument for datasette package, plus tests - closes #661
From pull request #663
This commit is contained in:
parent
34d77d780f
commit
67fc9c5720
6 changed files with 71 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue