fix: Container: remove modifying capabilities of /usr/bin/node (#25456)

This commit is contained in:
Devin Buhl
2025-01-05 13:36:57 +01:00
committed by GitHub
parent 3c46cfb2e9
commit 43a5b24dcc
+1 -2
View File
@@ -12,7 +12,7 @@ FROM linux-${TARGETARCH}-alpine AS base
ENV NODE_ENV=production
WORKDIR /app
RUN apk add --no-cache tzdata eudev tini nodejs libcap
RUN apk add --no-cache tzdata eudev tini nodejs
# Dependencies and build
FROM base AS deps
@@ -47,7 +47,6 @@ COPY package.json LICENSE index.js data/configuration.example.yaml ./
COPY docker/docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
RUN setcap 'cap_net_bind_service=+ep' /usr/bin/node
RUN mkdir /app/data