Skip to content

Commit

Permalink
Merge pull request #10 from mbwhite/remove-tini
Browse files Browse the repository at this point in the history
Remove Tini
  • Loading branch information
mbwhite authored Jun 9, 2024
2 parents 7fef3fa + 25942fa commit 592d242
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ RUN npm ci && npm run build && npm shrinkwrap

FROM node:20 AS production

# Setup tini to work better handle signals
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini


WORKDIR /usr/src/app
COPY --chown=node:node --from=builder /usr/src/app/lib ./lib
Expand All @@ -31,5 +26,5 @@ USER node
ENV NODE_ENV=production
ENV NODE_CONFIG_TS_DIR=/config
WORKDIR /usr/src/app
ENTRYPOINT [ "/tini", "--", "node","lib/main.js" ]
ENTRYPOINT [ "node","lib/main.js" ]

0 comments on commit 592d242

Please sign in to comment.