We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8072f49 commit 2722302Copy full SHA for 2722302
app/Dockerfile
@@ -59,6 +59,15 @@ RUN npm run build -- --no-lint
59
FROM node:18-bullseye-slim AS release
60
WORKDIR /app
61
62
+RUN apt-get update \
63
+ # Install security updates
64
+ # https://pythonspeed.com/articles/security-updates-in-docker/
65
+ && apt-get upgrade --yes \
66
+ # Install wget, required for health checks
67
+ wget \
68
+ # Reduce the image size by clearing apt cached lists
69
+ && rm -fr /var/lib/apt/lists/*
70
+
71
# Release stage doesn't have a need for `npm`, so remove it to avoid
72
# any vulnerabilities specific to NPM
73
RUN npm uninstall -g npm
0 commit comments