Add docker commands for building and running development.

This commit is contained in:
jeff 2020-06-18 08:20:07 -07:00
parent d2ef2e6636
commit aee1b4b094

View File

@ -7,6 +7,12 @@ Built using [Hugo](https://gohugo.io/getting-started/installing/)
hugo server
```
Development can also be run using Docker:
```shell script
docker build --no-cache -f Dockerfile.dev -t website-fe . && \
docker run -it -p 1313:1313 --mount source=$(pwd),target=/src,type=bind --rm website-fe
```
## Production
To build the production site, run the following command:
```