Skip to content

Commit

Permalink
test without dumb-init
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Holifield committed Jun 17, 2024
1 parent 653d354 commit bd52523
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9-1161.1715068733
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-896.1717584414

USER 0

Expand All @@ -24,8 +24,8 @@ RUN node circular.js

# install puppeteer/chromium dependencies
RUN microdnf install -y bzip2 fontconfig pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 libdrm libgbm libxshmfence libXScrnSaver alsa-lib wget nss.x86_64 nss GConf2 GConf2.x86_64
RUN wget -O /pdf-gen/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64
RUN chmod +x /pdf-gen/bin/dumb-init
# RUN wget -O /pdf-gen/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64
# RUN chmod +x /pdf-gen/bin/dumb-init

# Set node env variable
ENV NODE_ENV=production
Expand All @@ -34,5 +34,5 @@ ENV DEBUG=puppeteer-cluster:*
RUN npm run build

EXPOSE 8000
ENTRYPOINT [ "/pdf-gen/bin/dumb-init", "--" ]
# ENTRYPOINT [ "/pdf-gen/bin/dumb-init", "--" ]
CMD ["node", "./dist/server.js"]
14 changes: 7 additions & 7 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 bd52523

Please sign in to comment.