There was an error while loading. Please reload this page.
1 parent 34cc3a9 commit 3055db1Copy full SHA for 3055db1
1 file changed
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM node:24-alpine AS build
+FROM node:24-slim
2
# Set build arguments with defaults
3
ARG NODE_ENV=production
4
ARG NPM_INSTALL_FLAGS=
@@ -15,9 +15,7 @@ RUN npm ci $NPM_INSTALL_FLAGS
15
# Copy website files
16
COPY website/ ./
17
18
-FROM node:24-alpine
19
-
20
-RUN apk add --no-cache ca-certificates && update-ca-certificates
21
22
# Create a non-root user and group
23
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
0 commit comments