Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit f1c5f86

Browse files
committed
chore(build): bump main Docker image to nginxinc/nginx-unprivileged:alpine3.19-slim
1 parent 6a99e43 commit f1c5f86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
FROM --platform=$BUILDPLATFORM node:20-alpine3.19 as UI_BUILDER
44
WORKDIR /app
5+
# See, https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#node-gyp-alpine
6+
RUN apk add --no-cache python3 make g++
57
COPY ["./*.json", "./.parcelrc", "./"]
68
RUN --mount=type=cache,target=/app/npm/cache set -x && npm ci --cache /app/npm/cache
79
COPY ["./src", "./src"]
810
RUN set -x && npm run build
911

10-
FROM nginxinc/nginx-unprivileged:alpine3.18-slim
12+
FROM nginxinc/nginx-unprivileged:alpine3.19-slim
1113
COPY --from=UI_BUILDER ["/app/dist/", "/usr/share/nginx/html/"]
1214
COPY ["./config/nginx.conf", "/etc/nginx/conf.d/default.conf"]

0 commit comments

Comments
 (0)