File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 2
2
# Licensed under the GNU Affero General Public License (AGPL).
3
3
# See License.AGPL.txt in the project root for license information.
4
4
5
- FROM node:18.17.1-slim AS builder
5
+ FROM node:18.20.7-alpine AS builder
6
6
7
7
# Install Python, make, gcc and g++ for node-gyp
8
- RUN apt-get update && \
9
- apt-get install -y python3 make gcc g++ && \
10
- apt-get clean && \
11
- rm -rf /var/lib/apt/lists/*
8
+ RUN apk update && \
9
+ apk add python3 make gcc g++ bash && \
10
+ rm -rf /var/cache/apk/*
12
11
13
12
COPY components-server--app /installer/
14
13
15
14
WORKDIR /app
16
15
RUN /installer/install.sh
17
16
18
- FROM cgr.dev/chainguard/ node:18.17.1@sha256:af073516c203b6bd0b55a77a806a0950b486f2e9ea7387a32b0f41ea72f20886
17
+ FROM node:18.20.7-alpine
19
18
ENV NODE_OPTIONS="--unhandled-rejections=warn --max_old_space_size=2048"
20
19
21
20
EXPOSE 3000
Original file line number Diff line number Diff line change 2
2
# Licensed under the GNU Affero General Public License (AGPL).
3
3
# See License.AGPL.txt in the project root for license information.
4
4
5
- FROM node:18.17.1-slim as builder
5
+ FROM node:18.20.7-alpine AS builder
6
+
7
+ # Install bash for the installer script
8
+ RUN apk update && \
9
+ apk add bash && \
10
+ rm -rf /var/cache/apk/*
11
+
6
12
COPY components-ws-manager-bridge--app /installer/
7
13
8
14
WORKDIR /app
9
15
RUN /installer/install.sh
10
16
11
- FROM cgr.dev/chainguard/ node:18.17.1@sha256:af073516c203b6bd0b55a77a806a0950b486f2e9ea7387a32b0f41ea72f20886
17
+ FROM node:18.20.7-alpine
12
18
ENV NODE_OPTIONS=--unhandled-rejections=warn
13
19
EXPOSE 3000
14
20
COPY --from=builder --chown=node:node /app /app/
You can’t perform that action at this time.
0 commit comments