Skip to content

Commit 4e1eed4

Browse files
committed
build(container): use alpine as final base image
1 parent d316317 commit 4e1eed4

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/dependabot.yml

+9
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ updates:
2020
- dependency-name: "@types/node"
2121
update-types: ["version-update:semver-major"]
2222

23+
- package-ecosystem: "docker"
24+
directory: "/"
25+
schedule:
26+
interval: "weekly"
27+
day: "saturday"
28+
time: "02:42" # UTC
29+
commit-message:
30+
prefix: "build(container):"
31+
2332
- package-ecosystem: "github-actions"
2433
directory: "/"
2534
schedule:

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ COPY package.json package-lock.json ./
1414
RUN npm ci --no-audit --no-fund --no-update-notifier --omit=dev
1515

1616

17-
FROM docker.io/library/node:22-alpine AS final
18-
RUN apk upgrade --no-cache
17+
FROM docker.io/library/alpine:3.21 AS final
18+
RUN apk upgrade --no-cache \
19+
&& apk add --no-cache nodejs
1920

2021
WORKDIR /app
2122
VOLUME /app/persist

0 commit comments

Comments
 (0)