mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 12:54:48 -04:00
Update Docker config for Ubuntu 22.04
This commit is contained in:
parent
bb07a19147
commit
fa312ea089
3 changed files with 26 additions and 13 deletions
|
@ -57,16 +57,16 @@ If everything went well, `https://standardebooks.test/ebooks` will show the one
|
|||
|
||||
## Installation using Docker
|
||||
|
||||
We provide a Dockerfile for testing code changes. You can build an image with:
|
||||
We provide a Dockerfile for testing code changes. You can create a container with:
|
||||
|
||||
```shell
|
||||
docker build . -t standardebooks -f vms/docker/Dockerfile
|
||||
docker build . --tag standardebooks --file vms/docker/Dockerfile
|
||||
```
|
||||
|
||||
Then run the built image with:
|
||||
|
||||
```shell
|
||||
docker run -dp 443:443 -v "$(pwd):/standardebooks.org/web" standardebooks:latest
|
||||
docker run --detach --publish 443:443 --volume "$(pwd):/standardebooks.org/web" standardebooks:latest
|
||||
```
|
||||
|
||||
The site will now be available at `https://localhost/`, although as it’s a self-signed certificate you’ll need to accept whatever browser security warnings come up.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue