Skip to content

Commit ff62c74

Browse files
committed
chore: update Node.js version to 24-alpine3.23 in Dockerfiles and add .dockerignore
1 parent 11c177f commit ff62c74

4 files changed

Lines changed: 7 additions & 14 deletions

File tree

.dockerignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.md
2+
.git
3+
src/webui/FE/node_modules

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup node
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: 20
34+
node-version: 24
3535
registry-url: 'https://registry.npmjs.org'
3636

3737
- name: Install dependencies

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:24-alpine
1+
FROM node:24-alpine3.23
22

33
ARG LLBOT_VERSION
44

docker/Dockerfile.local

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
FROM node:24-alpine AS builder
2-
3-
ARG HTTP_PROXY
4-
ARG HTTPS_PROXY
5-
ENV HTTP_PROXY=${HTTP_PROXY} HTTPS_PROXY=${HTTPS_PROXY}
1+
FROM node:24-alpine3.23 AS builder
62

73
WORKDIR /app
84

@@ -23,11 +19,7 @@ RUN yarn build-webui
2319
RUN yarn build
2420

2521

26-
FROM node:24-alpine AS production
27-
28-
ARG HTTP_PROXY
29-
ARG HTTPS_PROXY
30-
ENV HTTP_PROXY=${HTTP_PROXY} HTTPS_PROXY=${HTTPS_PROXY}
22+
FROM node:24-alpine3.23 AS production
3123

3224
RUN set -eux; \
3325
apk update; \
@@ -45,6 +37,4 @@ RUN chmod +x /startup.sh
4537

4638
RUN touch /.dockerenv
4739

48-
ENV HTTP_PROXY= HTTPS_PROXY=
49-
5040
ENTRYPOINT ["/startup.sh"]

0 commit comments

Comments
 (0)