MAXIMUM COMPATIBILITY

This commit is contained in:
lklynet
2026-01-01 22:58:25 -05:00
parent 739ef36f73
commit 8f7bf8fa9b
+5 -4
View File
@@ -1,18 +1,19 @@
FROM node:18-slim
FROM node:18-bullseye
WORKDIR /app
# Install build dependencies
# Install build dependencies including cmake for native modules
RUN apt-get update && apt-get install -y \
python3 \
make \
g++ \
cmake \
&& rm -rf /var/lib/apt/lists/*
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Install dependencies and force rebuild
RUN npm install --production && npm rebuild
COPY server.js ./