From 4a07e09b94a22db7aeb92c30d9d7600433d676c1 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Mon, 12 Oct 2020 02:51:13 +0700 Subject: Add a dockerfile, document its usage in the readme (#260) --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 0e86552d5..f7cb4ef3b 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,27 @@ Or serve it on a local server on http://localhost:7998: $ npm run dev +### Build the font in a Docker container + +Another possibility is to build the font using the Dockerfile provided. + +First, build the Docker image: + + $ docker build -t fa-builder . + +Then, run the Docker container: + + $ docker run --rm -it \ + -u $(id -u):$(id -g) \ + -v $(pwd):$(pwd) \ + -w $(pwd) \ + fa-builder + +Within the container, build the font: + + $ bundle install --path vendor/bundle + $ npm ci + $ make -C src/icons [all-contrib]: https://img.shields.io/badge/all_contributors-125-orange.svg?style=flat-square "All Contributors badge" -- cgit v1.2.3