Skip to content

Commit

Permalink
Merge branch 'main' into feature/add_identity_init_cli_command
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 28, 2025
2 parents f5b3a79 + c57feb5 commit c127c3f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ COPY src src
RUN npm run build
RUN .ci/writeBuildInformation.sh

FROM node:23.6.1-alpine
RUN apk add --no-cache tini
RUN apk add libcap && setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/node && apk del libcap
FROM node:23.6.1-slim

ENV TINI_VERSION=v0.19.0
ADD --chmod=755 https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /usr/local/bin/tini

RUN mkdir -p /var/log/enmeshed-connector && chown -R node:node /var/log/enmeshed-connector

Expand All @@ -32,5 +33,5 @@ LABEL org.opencontainers.image.source="https://github.com/nmshd/connector"

USER node

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

0 comments on commit c127c3f

Please sign in to comment.