Simplify docker build

This commit is contained in:
Thomas Clavier 2023-11-22 21:33:09 +01:00
parent 094e751cb1
commit f050375b8a
No known key found for this signature in database
GPG Key ID: 20CCE23E53E6E41A
2 changed files with 5 additions and 3 deletions

View File

@ -10,4 +10,8 @@ RUN apt-get update -y \
woff-tools \
woff2
WORKDIR /workspace
COPY Gemfile /workspace
COPY Gemfile.lock /workspace
RUN bundle install
CMD bash

View File

@ -100,13 +100,11 @@ Then, run the Docker container:
$ docker run --rm -it \
-u $(id -u):$(id -g) \
-v $(pwd):$(pwd) \
-w $(pwd) \
-v $(pwd):/workspace \
fa-builder
Within the container, build the font:
$ bundle install --path vendor/bundle
$ npm ci
$ make -C src/icons