mirror of
https://github.com/lklynet/hypermind.git
synced 2026-05-03 09:30:36 +00:00
MAXIMUM COMPATIBILITY
This commit is contained in:
+5
-4
@@ -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 ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user