feat: enhance Dockerfile and entrypoint for user permissions and environment variable handling
Build and publish Docker image / build-and-push (release) Successful in 3m55s

This commit is contained in:
sebastas committed 2025-11-16 01:16:53 +01:00
1 parent 0eccf479e6
commit d4d886c91f
3 files changed
+53 -11

No files matched your search

+4
View File
@@ -9,6 +9,10 @@ RUN npm run build
# Final runtime image
FROM node:24-alpine
WORKDIR /app
# ensure su-exec present to drop privileges later
RUN apk add --no-cache ca-certificates su-exec
# copy package manifests and install deps (leverage Docker cache)
COPY backend/package*.json backend/package-lock*.json ./backend/
RUN cd backend && npm ci --silent