Need to build a second time (#6)

After the `secret.exs` file is updated with the correct push keys, it needs to be included in the image.
This commit is contained in:
Chris F Ravenscroft 2019-05-20 02:57:05 -07:00 committed by Stanislas
parent 3489ad0926
commit c65299c863

View file

@ -122,7 +122,7 @@ docker-compose build
docker build -t pleroma . docker build -t pleroma .
``` ```
I prefer the later because it's more verbose. I prefer the latter because it's more verbose.
Setup the database: Setup the database:
@ -136,6 +136,14 @@ Get your web push keys and copy them to `secret.exs`:
docker-compose run --rm web mix web_push.gen.keypair docker-compose run --rm web mix web_push.gen.keypair
``` ```
You will need to build the image again, to pick up your updated `secret.exs` file:
```
docker-compose build
# or
docker build -t pleroma .
```
You can now launch your instance: You can now launch your instance:
```sh ```sh