summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2019-09-02 12:12:26 -0600
committermo khan <mo.khan@gmail.com>2019-09-02 12:12:26 -0600
commit87171fd3828c2bc3e77353780e179a7acc10ebd0 (patch)
tree5dda1d714b51df4d084e4df8491a1120731d2e06 /Dockerfile
parenta00876684e7059bd53474fd16c285caab94fb2a0 (diff)
run the program as the default dockerfile command
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 26f6b22..8aba27c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,3 +11,4 @@ WORKDIR /code
COPY . /code
RUN bundle install --jobs $(nproc) && yarn install && mvn 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", "run"]