diff --git a/Dockerfile b/Dockerfile index ff2baef4f..d81422588 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 4c40d20d9..eeccfecc6 100644 --- a/README.md +++ b/README.md @@ -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