Better Readme (#1806)
This commit is contained in:
parent
a7c2f75120
commit
136e8bf2bb
|
|
@ -253,7 +253,12 @@ Build and run a new docker image using:
|
||||||
$ docker compose up --build
|
$ docker compose up --build
|
||||||
```
|
```
|
||||||
|
|
||||||
> If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again using `--force-recreate` argument at the end of previous command! It will download ruby and jekyll and install all ruby packages again from scratch.
|
> If you want to update jekyll, install new ruby packages, etc., all you have to do is build the image again using `--force-recreate` argument at the end of the previous command! It will download Ruby and Jekyll and install all Ruby packages again from scratch.
|
||||||
|
|
||||||
|
If you want to use a specific docker version, you can do so by changing `latest` tag to `your_version` in `docker-compose.yaml`. For example, you might have created your website on `v0.10.0` and you want to stick with that.
|
||||||
|
|
||||||
|
- Beta
|
||||||
|
You can also change the docker image tag to slim! It is a slimmed docker image with a size of below 100MBs (same functionality).
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ version: "3"
|
||||||
# this file uses prebuilt image in dockerhub
|
# this file uses prebuilt image in dockerhub
|
||||||
services:
|
services:
|
||||||
jekyll:
|
jekyll:
|
||||||
image: amirpourmand/al-folio
|
image: amirpourmand/al-folio:latest
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue