mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-26 13:31:31 +08:00
Simplify docker build
This commit is contained in:
parent
094e751cb1
commit
f050375b8a
@ -10,4 +10,8 @@ RUN apt-get update -y \
|
|||||||
woff-tools \
|
woff-tools \
|
||||||
woff2
|
woff2
|
||||||
|
|
||||||
|
WORKDIR /workspace
|
||||||
|
COPY Gemfile /workspace
|
||||||
|
COPY Gemfile.lock /workspace
|
||||||
|
RUN bundle install
|
||||||
CMD bash
|
CMD bash
|
||||||
|
@ -100,13 +100,11 @@ Then, run the Docker container:
|
|||||||
|
|
||||||
$ docker run --rm -it \
|
$ docker run --rm -it \
|
||||||
-u $(id -u):$(id -g) \
|
-u $(id -u):$(id -g) \
|
||||||
-v $(pwd):$(pwd) \
|
-v $(pwd):/workspace \
|
||||||
-w $(pwd) \
|
|
||||||
fa-builder
|
fa-builder
|
||||||
|
|
||||||
Within the container, build the font:
|
Within the container, build the font:
|
||||||
|
|
||||||
$ bundle install --path vendor/bundle
|
|
||||||
$ npm ci
|
$ npm ci
|
||||||
$ make -C src/icons
|
$ make -C src/icons
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user