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 22# Licensed under the GNU Affero General Public License (AGPL).
33# See License.AGPL.txt in the project root for license information.
44
5- FROM node:18.17.1-slim AS builder
5+ FROM node:18.20.7-alpine AS builder
66
77# 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/*
1211
1312COPY components-server--app /installer/
1413
1514WORKDIR /app
1615RUN /installer/install.sh
1716
18- FROM cgr.dev/chainguard/ node:18.17.1@sha256:af073516c203b6bd0b55a77a806a0950b486f2e9ea7387a32b0f41ea72f20886
17+ FROM node:18.20.7-alpine
1918ENV NODE_OPTIONS="--unhandled-rejections=warn --max_old_space_size=2048"
2019
2120EXPOSE 3000
Original file line number Diff line number Diff line change 22# Licensed under the GNU Affero General Public License (AGPL).
33# See License.AGPL.txt in the project root for license information.
44
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+
612COPY components-ws-manager-bridge--app /installer/
713
814WORKDIR /app
915RUN /installer/install.sh
1016
11- FROM cgr.dev/chainguard/ node:18.17.1@sha256:af073516c203b6bd0b55a77a806a0950b486f2e9ea7387a32b0f41ea72f20886
17+ FROM node:18.20.7-alpine
1218ENV NODE_OPTIONS=--unhandled-rejections=warn
1319EXPOSE 3000
1420COPY --from=builder --chown=node:node /app /app/
You can’t perform that action at this time.
0 commit comments