Skip to content

Commit

Permalink
Suppress node update warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Feb 18, 2025
1 parent e7adcb0 commit 36fc774
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions backups/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM node:22-slim

Check notice

Code scanning / Trivy

No HEALTHCHECK defined Low

Artifact: backups/Dockerfile
Type: dockerfile
Vulnerability DS026
Severity: LOW
Message: Add HEALTHCHECK instruction in your Dockerfile
Link: DS026
ENV NPM_CONFIG_UPDATE_NOTIFIER=false

WORKDIR /app

COPY package*.json ./
COPY package*.json backup.js ./
RUN npm ci

COPY . .

USER 1001
USER node
CMD ["npm", "run", "backup"]

0 comments on commit 36fc774

Please sign in to comment.