Skip to content

Commit

Permalink
Merge pull request #149 from Hyperkid123/update-dependencies
Browse files Browse the repository at this point in the history
Update packages.
  • Loading branch information
Hyperkid123 authored Jul 25, 2024
2 parents 632676b + 1690bfb commit 94ebfa9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ RUN mkdir -p /pdf-gen/bin
RUN microdnf install -y git make tar
RUN curl -L https://git.io/n-install --output n-install
RUN chmod +x n-install && yes y | ./n-install
RUN $HOME/n/bin/n 18
RUN $HOME/n/bin/n 20

ENV XDG_CONFIG_HOME="/tmp/.chromium"
ENV XDG_CACHE_HOME="/tmp/.chromium"
# needed for node-gyp https://github.com/nodejs/node-gyp?tab=readme-ov-file#installation
RUN microdnf install -y python3 make gcc-c++


# RUN npm install using package-lock.json
RUN npm ci
Expand All @@ -30,6 +33,7 @@ RUN microdnf install -y bzip2 fontconfig pango.x86_64 \
atk.x86_64 gtk3.x86_64 libdrm libgbm libxshmfence libXScrnSaver alsa-lib \
wget nss.x86_64 nss GConf2 GConf2.x86_64


# Set node env variable
ENV NODE_ENV=production
ENV DEBUG=puppeteer-cluster:*
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 94ebfa9

Please sign in to comment.