mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use build arguments, refs #1522
This commit is contained in:
parent
c617e1769e
commit
a1ba6cd6bb
3 changed files with 48 additions and 17 deletions
|
|
@ -3,3 +3,14 @@
|
|||
See also [Running Datasette behind a proxy](https://docs.datasette.io/en/latest/deploying.html#running-datasette-behind-a-proxy)
|
||||
|
||||
This live demo is running at https://apache-proxy-demo.datasette.io/
|
||||
|
||||
To build locally, passing in a Datasette commit hash (or `main` for the main branch):
|
||||
|
||||
docker build -t datasette-apache-proxy-demo . \
|
||||
--build-arg DATASETTE_REF=c617e1769ea27e045b0f2907ef49a9a1244e577d
|
||||
|
||||
Then run it like this:
|
||||
|
||||
docker run -p 5000:80 datasette-apache-proxy-demo
|
||||
|
||||
And visit `http://localhost:5000/` or `http://localhost:5000/prefix/`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue