diff --git a/Dockerfile b/Dockerfile index 90ef64c..decb3bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 ./