Skip to content

Commit

Permalink
✨ add tini in the docker image / Fixes jlandure#10 jlandure#17
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandure committed Mar 21, 2019
1 parent 3046d06 commit 7b4f2b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion with-node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM zenika/alpine-chrome

USER root
RUN apk add --no-cache make gcc g++ python git nodejs nodejs-npm yarn \
RUN apk add --no-cache tini make gcc g++ python git nodejs nodejs-npm yarn \
&& rm -rf /var/lib/apt/lists/* \
/var/cache/apk/* \
/usr/share/man \
/tmp/*
USER chrome
ENTRYPOINT ["tini", "--"]
1 change: 1 addition & 0 deletions with-puppeteer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ RUN npm install
COPY --chown=chrome . /usr/src/app
WORKDIR /usr/src/app
ENTRYPOINT []
ENTRYPOINT ["tini", "--"]
CMD node pdf.js

0 comments on commit 7b4f2b3

Please sign in to comment.