Skip to content

Commit

Permalink
Chore/use tini as entrypoint (#9)
Browse files Browse the repository at this point in the history
* chore: bump libs / versions

* chore: changelog

* chore: use tini as entrypoint
  • Loading branch information
jkoenig134 committed Jan 18, 2022
1 parent f42dc7d commit 34e0490
Show file tree
Hide file tree
Showing 6 changed files with 27,329 additions and 27,555 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## 2.1.4

-> SDK 1.1.7

- run `tini` together with the Connector to ensure kernel events will be propagated to the Connector
- upgrade the runtime to version 1.2.14

## 2.1.3

-> SDK 1.1.6
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -16,6 +16,7 @@ RUN .ci/writeBuildInformation.sh

FROM node:16.13.0-alpine
ENV NODE_CONFIG_ENV=prod
RUN apk add --no-cache tini
WORKDIR /usr/app
COPY config config
COPY package.json package-lock.json ./
Expand All @@ -26,4 +27,5 @@ COPY --from=builder /usr/app/dist/ dist/

LABEL org.opencontainers.image.source = "https://github.com/nmshd/cns-connector"

ENTRYPOINT node ./dist/index.js
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["node", "/usr/app/dist/index.js"]

0 comments on commit 34e0490

Please sign in to comment.