summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-10-14 16:19:08 -0600
committermo khan <mo.khan@gmail.com>2019-10-14 16:19:08 -0600
commitfc4fc0ecaf18444040ed4b8973c75651322bb632 (patch)
tree761079a5e882f7714d9999d892d12005a66cc5f4 /Dockerfile
parent60cbcc8ec6ba9c42168139a36c73d04d0d89fe12 (diff)
Create development group
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 4ba463e..d00bb4e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,6 @@ RUN apk update && \
RUN git clone https://github.com/sstephenson/bats.git /opt/bats && cd /opt/bats && ./install.sh /usr/local
WORKDIR /code
COPY . /code
-RUN bundle install --jobs $(nproc) && yarn install
+RUN bundle install --jobs $(nproc) --without development && yarn install
RUN sed -i 's/{ headless: true }/{ headless: true, executablePath: "\/usr\/bin\/chromium-browser", args: ["--no-sandbox", "--disable-setuid-sandbox"] }/g' node_modules/mdpdf/src/index.js
CMD ["bundle", "exec", "rake"]