trying every version of debian til one works

This commit is contained in:
lklynet
2026-01-01 23:06:25 -05:00
parent 28264086c0
commit 952433ba6d
+9 -3
View File
@@ -1,13 +1,19 @@
FROM node:18-alpine
FROM node:18-bookworm
WORKDIR /app
# Install build dependencies
RUN apk add --no-cache python3 make g++ linux-headers git
RUN apt-get update && apt-get install -y \
python3 \
make \
g++ \
cmake \
git \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
# Install dependencies with build flags for udx-native
# Install dependencies (forcing build from source to ensure glibc compatibility)
RUN npm install --production --build-from-source
COPY server.js ./