Created
January 22, 2021 07:14
-
-
Save knapo/3c146ff45da43822edabd6f46bfd3f39 to your computer and use it in GitHub Desktop.
Revisions
-
knapo created this gist
Jan 22, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ FROM ruby:2.7-alpine as base ENV APP_HOME /home/app ENV GROVER_NO_SANDBOX true ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true WORKDIR $APP_HOME COPY package.json $APP_HOME/ RUN apk update \ && apk add --update --no-cache \ chromium \ curl \ g++ \ gcc \ imagemagick \ libreoffice \ libxml2-dev \ libxslt-dev \ linux-headers \ make \ nodejs \ npm \ py3-pip \ ttf-freefont \ udev \ && rm -rf /var/cache/apk/* \ && pip install unoconv \ && unoconv --version \ && node --version \ && npm version RUN npm install CMD ["/bin/sh"]