From 87171fd3828c2bc3e77353780e179a7acc10ebd0 Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 2 Sep 2019 12:12:26 -0600 Subject: run the program as the default dockerfile command --- Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'Dockerfile') 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"] -- cgit v1.2.3