Skip to content

Commit 3055db1

Browse files
committed
change base image
1 parent 34cc3a9 commit 3055db1

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:24-alpine AS build
1+
FROM node:24-slim
22
# Set build arguments with defaults
33
ARG NODE_ENV=production
44
ARG NPM_INSTALL_FLAGS=
@@ -15,9 +15,7 @@ RUN npm ci $NPM_INSTALL_FLAGS
1515
# Copy website files
1616
COPY website/ ./
1717

18-
FROM node:24-alpine
19-
20-
RUN apk add --no-cache ca-certificates && update-ca-certificates
18+
FROM node:24-slim
2119

2220
# Create a non-root user and group
2321
RUN addgroup -S appgroup && adduser -S appuser -G appgroup

0 commit comments

Comments
 (0)